We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a271332 commit 77c132bCopy full SHA for 77c132b
stdlib/tempfile/testdata/test.py
@@ -62,7 +62,7 @@
62
print("INVALID error caught: %s" % e)
63
64
def remove(fd, name):
65
- os.fdopen(fd).close()
+ os.close(fd)
66
os.remove(name)
67
68
## mkstemp
0 commit comments