[Python-checkins] cpython (3.3): Fix typo.

serhiy.storchaka python-checkins at python.org
Fri Jan 24 21:29:30 CET 2014


http://hg.python.org/cpython/rev/38a50d8102be
changeset:   88678:38a50d8102be
branch:      3.3
parent:      88676:69d885ac042d
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Fri Jan 24 22:28:06 2014 +0200
summary:
  Fix typo.

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


diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py
--- a/Lib/test/test_tarfile.py
+++ b/Lib/test/test_tarfile.py
@@ -243,7 +243,7 @@
         if sys.platform == 'win32' and '|' in self.mode:
             # Issue #20384: On Windows os.open() error message doesn't
             # contain file name.
-            text = ''
+            test = ''
         with self.assertRaisesRegex(FileNotFoundError, test):
             tarfile.open("xxx", self.mode)
 

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


More information about the Python-checkins mailing list