]> granicus.if.org Git - python/commitdiff
Fix typo.
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 24 Jan 2014 20:28:06 +0000 (22:28 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 24 Jan 2014 20:28:06 +0000 (22:28 +0200)
Lib/test/test_tarfile.py

index 57fc062cae59fd09224dadbd9be72ed475f37571..f64964dd1da3f126248d3222ac986323c0558805 100644 (file)
@@ -243,7 +243,7 @@ class CommonReadTest(ReadTest):
         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)