Skip to content

Commit 345f1c1

Browse files
authored
Removing temp files at the end. (#973)
1 parent df11202 commit 345f1c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_math.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ def test_load_stiff_mass_different_location(mm, cube_solve, tmpdir):
212212
assert all([each > 0 for each in k.shape])
213213
assert all([each > 0 for each in m.shape])
214214

215+
# deleting temp files
216+
for each_file in full_files:
217+
os.remove(each_file)
218+
215219

216220
def test_load_stiff_mass_as_array(mm, cube_solve):
217221
k = mm.stiff(asarray=True)

0 commit comments

Comments
 (0)