[Python-checkins] cpython (merge 3.4 -> default): (Merge 3.4) Issue #21058: fix typo in a comment. Patch written by Vajrasky Kok.

victor.stinner python-checkins at python.org
Tue Mar 25 18:20:00 CET 2014


http://hg.python.org/cpython/rev/4e3c76cb0e8a
changeset:   89978:4e3c76cb0e8a
parent:      89975:6a0def54c63d
parent:      89977:aa2a05fe46ae
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Mar 25 18:19:49 2014 +0100
summary:
  (Merge 3.4) Issue #21058: fix typo in a comment. Patch written by Vajrasky Kok.

files:
  Lib/test/test_tempfile.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py
--- a/Lib/test/test_tempfile.py
+++ b/Lib/test/test_tempfile.py
@@ -760,7 +760,7 @@
         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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list