File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1616
1717
1818@pytest .fixture (scope = "session" )
19- def env_prefix ():
20- env_root = Path (appdirs .user_data_dir ("pytest_code_runner_tests" , "DerThorsten" ))
21- env_root .mkdir (exist_ok = True , parents = True )
19+ def env_prefix (tmp_path_factory ):
20+ # env_root = Path(appdirs.user_data_dir("pytest_code_runner_tests", "DerThorsten"))
21+ # env_root.mkdir(exist_ok=True, parents=True)
22+ # env_prefix = Path(env_root) / "testenv"
23+
24+ env_root = = tmp_path_factory .mktemp ("pytest_code_runner_tests" )
2225 env_prefix = Path (env_root ) / "testenv"
2326
2427 if env_prefix .exists ():
2528 shutil .rmtree (env_prefix )
2629
27- print ("prefix" , env_prefix )
2830 channels = (
2931 "-c https://repo.mamba.pm/emscripten-forge -c https://repo.mamba.pm/conda-forge"
3032 )
You can’t perform that action at this time.
0 commit comments