Skip to content

Commit 5879044

Browse files
committed
tst2
Signed-off-by: Sebastien Binet <binet@cern.ch>
1 parent 9661a60 commit 5879044

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/tempfile/testdata/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ def remove(fd, name):
9898
try:
9999
top = tempfile.mkdtemp(prefix="prefix-", suffix="-suffix")
100100
fd, tmp = tempfile.mkstemp(prefix="prefix-", suffix="-suffix", dir=top)
101+
os.fdopen(fd).close()
101102
os.removedirs(top)
102103
print("mkstemp(prefix='prefix-', suffix='-suffix', dir=top) [OK]")
103104
except SystemError as e:

0 commit comments

Comments
 (0)