-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Running the pytest creates some temporary files and directories that are not deleted automatically.
The temporary files are pointings.npy and difference.npy (when pytest is called twice) - each ~250MB in size. It seems like they are coming from benchmarks/pointing_generation.py, but I am not sure why pytest is running this script.
The temporary directories are cmb and nonlin_example. They are created when lbs.Simulation() is called in test functions. An appropriate solution would be passing tmp_path to the base_dir argument of simulation class as explained here: https://docs.pytest.org/en/stable/how-to/tmp_path.html.
Metadata
Metadata
Assignees
Labels
No labels