(Merge 3.4) Issue #21058: fix typo in a comment. Patch written by Vajrasky Kok.

This commit is contained in:
Victor Stinner 2014-03-25 18:19:49 +01:00
commit 1db91ebcd1
1 changed files with 1 additions and 1 deletions

View File

@ -760,7 +760,7 @@ class TestNamedTemporaryFile(BaseTestCase):
self.assertRaises(ValueError, use_closed) self.assertRaises(ValueError, use_closed)
def test_no_leak_fd(self): 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 = [] closed = []
def close(fd): def close(fd):
closed.append(fd) closed.append(fd)