mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
fixup! fix error message for git files
This commit is contained in:
@@ -15,6 +15,7 @@ from dvc.stage import Stage
|
||||
from dvc.state import StateNoop
|
||||
from dvc.utils import resolve_output
|
||||
from dvc.utils.fs import remove
|
||||
from dvc.utils.compat import FileNotFoundError
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ from dvc.repo import Repo
|
||||
from dvc.system import System
|
||||
from dvc.utils import makedirs
|
||||
from dvc.utils.compat import fspath
|
||||
from dvc.utils import fspath_py35
|
||||
from tests.utils import trees_equal
|
||||
|
||||
|
||||
@@ -135,7 +136,7 @@ def test_non_cached_output(tmp_path, erepo):
|
||||
)
|
||||
erepo.dvc.scm.add(["non_cached_file", "non_cached_file.dvc"])
|
||||
erepo.dvc.scm.commit("add non-cached output")
|
||||
os.chdir(tmp_path)
|
||||
os.chdir(fspath_py35(tmp_path))
|
||||
Repo.get(erepo.root_dir, "non_cached_file")
|
||||
|
||||
src = os.path.join(erepo.root_dir, "non_cached_file")
|
||||
|
||||
Reference in New Issue
Block a user