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.
Running the pytest creates some temporary files and directories that are not deleted automatically.
The temporary files are
pointings.npyanddifference.npy(when pytest is called twice) - each ~250MB in size. It seems like they are coming frombenchmarks/pointing_generation.py, but I am not sure why pytest is running this script.The temporary directories are
cmbandnonlin_example. They are created whenlbs.Simulation()is called in test functions. An appropriate solution would be passingtmp_pathto thebase_dirargument of simulation class as explained here: https://docs.pytest.org/en/stable/how-to/tmp_path.html.