From 1878c41c8006907f853b66b45d094f845be46f50 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Sun, 2 Dec 2018 19:55:22 +0200 Subject: [PATCH] test: use quote instead of shlex.quote --- tests/test_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_run.py b/tests/test_run.py index b0e26a92a..357f326bb 100644 --- a/tests/test_run.py +++ b/tests/test_run.py @@ -194,7 +194,7 @@ class TestRunDeterministic(TestDvc): command = [ 'dvc', 'run', '--verbose', '-f', '{}.dvc'.format(target), '-d', 'file1', '-o', target, - 'python', '-c', shlex.quote("open('{}', 'w').write('hi')").format(target), + 'python', '-c', quote("open('{}', 'w').write('hi')").format(target), ] if deterministic: command.insert(2, '--deterministic')