summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-03-25 17:19:17 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-03-25 17:19:17 (GMT)
commit87d13ea56d58851c35952aa8dac24168fceac15a (patch)
tree2bf91d73733489bc27bbcb902fa35cce234ad87c /Lib/test
parentb60ac7acfbc2a98425982cdbbb693aa6a3c9eb7a (diff)
downloadcpython-87d13ea56d58851c35952aa8dac24168fceac15a.zip
cpython-87d13ea56d58851c35952aa8dac24168fceac15a.tar.gz
cpython-87d13ea56d58851c35952aa8dac24168fceac15a.tar.bz2
Issue #21058: fix typo in a comment. Patch written by Vajrasky Kok.
Diffstat (limited to 'Lib/test')
-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)