We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31a8c68 commit 292bbbeCopy full SHA for 292bbbe
tests/test_remote_access.py
@@ -453,8 +453,11 @@ def tearDownClass(cls):
453
454
# Cleanup: remove directories created in `setUpClass`
455
if docker_runner_config_exists():
456
- shutil.rmtree(kh.get_runner().samples_dir)
457
- shutil.rmtree(cls._khiops_temp_dir)
+
+ # If Khiops samples and temp dirs exist, remove them
458
+ with suppress(FileNotFoundError):
459
+ shutil.rmtree(kh.get_runner().samples_dir)
460
+ shutil.rmtree(cls._khiops_temp_dir)
461
462
# Reset the Khiops Python runner to the initial one
463
kh.set_runner(cls.initial_runner)
0 commit comments