summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_tempfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py
index fda914e..b23c19f 100644
--- a/Lib/test/test_tempfile.py
+++ b/Lib/test/test_tempfile.py
@@ -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)