Skip to content

Commit

Permalink
test: close temp file
Browse files Browse the repository at this point in the history
  • Loading branch information
nschloe committed Mar 6, 2018
1 parent cc7e89c commit 88e366b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ def write_read(writer, reader, mesh, atol):
except KeyError:
input_field_data = {}

_, filename = tempfile.mkstemp()
handle, filename = tempfile.mkstemp()
os.close(handle)

writer(
filename,
Expand Down

0 comments on commit 88e366b

Please sign in to comment.