test: do not commit copy.py to git

This commit is contained in:
Alexander Schepanovski
2020-01-20 20:35:10 +07:00
parent 1d891a6e77
commit 91e024c8fa
-4
View File
@@ -237,10 +237,6 @@ def run_copy(tmp_dir, dvc):
"import sys, shutil\nshutil.copyfile(sys.argv[1], sys.argv[2])",
)
# Do we need this?
if hasattr(tmp_dir, "scm"):
tmp_dir.scm_add("copy.py", commit="add copy.py")
def run_copy(src, dst, **run_kwargs):
return dvc.run(
cmd="python copy.py {} {}".format(src, dst),