Skip to content

Commit b497636

Browse files
committed
Fix the test
1 parent 277a087 commit b497636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/tests/test_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def my_module(**kwargs):
5454
def test_gmttempfile():
5555
"Check that file is really created and deleted."
5656
with GMTTempFile() as tmpfile:
57-
assert os.path.exists(tmpfile.name)
57+
assert not os.path.exists(tmpfile.name)
5858
# File should be deleted when leaving the with block
5959
assert not os.path.exists(tmpfile.name)
6060

0 commit comments

Comments
 (0)