(Merge 3.4) Issue #21058: fix typo in a comment. Patch written by Vajrasky Kok.
This commit is contained in:
commit
1db91ebcd1
|
@ -760,7 +760,7 @@ class TestNamedTemporaryFile(BaseTestCase):
|
|||
self.assertRaises(ValueError, use_closed)
|
||||
|
||||
def test_no_leak_fd(self):
|
||||
# Issue #21058: don't leak file descriptor when io.pen() fails
|
||||
# Issue #21058: don't leak file descriptor when io.open() fails
|
||||
closed = []
|
||||
def close(fd):
|
||||
closed.append(fd)
|
||||
|
|
Loading…
Reference in New Issue