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 5a2241f commit a792086Copy full SHA for a792086
1 file changed
tests/conftest.py
@@ -291,7 +291,7 @@ def with_test_cache(test_files_directory, request):
291
f"Cannot find test cache dir, expected it to be {test_files_directory!s}!",
292
)
293
_root_cache_directory = openml.config._root_cache_directory
294
- tmp_cache = test_files_directory / request.node.name
+ tmp_cache = test_files_directory / request.node.nodeid.replace("/", ".").replace("::", ".")
295
openml.config.set_root_cache_directory(tmp_cache)
296
yield
297
openml.config.set_root_cache_directory(_root_cache_directory)
@@ -308,4 +308,4 @@ def workdir(tmp_path):
308
original_cwd = Path.cwd()
309
os.chdir(tmp_path)
310
yield tmp_path
311
- os.chdir(original_cwd)
+ os.chdir(original_cwd)
0 commit comments