diff --git a/tests/test_math.py b/tests/test_math.py index 8196edf8bab..0fc98abebce 100755 --- a/tests/test_math.py +++ b/tests/test_math.py @@ -202,6 +202,10 @@ def test_load_stiff_mass_different_location(mm, cube_solve, tmpdir): assert all([each > 0 for each in k.shape]) assert all([each > 0 for each in m.shape]) + # deleting temp files + for each_file in full_files: + os.remove(each_file) + def test_load_stiff_mass_as_array(mm, cube_solve): k = mm.stiff(asarray=True)