mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
stop unit test from leaving myfile.py behind
This commit is contained in:
@@ -18,6 +18,8 @@ class TestExecutor(TestCase):
|
||||
|
||||
def tearDown(self):
|
||||
shutil.rmtree(self.test_dir)
|
||||
if os.path.exists('myfile.py'):
|
||||
os.remove('myfile.py')
|
||||
|
||||
def test_suppress_output(self):
|
||||
output = Executor.exec_cmd_only_success(['python', self.code_file])
|
||||
|
||||
Reference in New Issue
Block a user