mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #21058: fix typo in a comment. Patch written by Vajrasky Kok.
This commit is contained in:
parent
b60ac7acfb
commit
87d13ea56d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue