summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tarfile.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-01-24 20:28:06 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-01-24 20:28:06 (GMT)
commita7184e617afb7face7a56b89feecf27cbd6ed1db (patch)
tree6bef357820a466148b4c6a85cd6fe6b26d9a2889 /Lib/test/test_tarfile.py
parent2d5a0928f1db9beca9e5339c31d8fca6240c49e0 (diff)
downloadcpython-a7184e617afb7face7a56b89feecf27cbd6ed1db.zip
cpython-a7184e617afb7face7a56b89feecf27cbd6ed1db.tar.gz
cpython-a7184e617afb7face7a56b89feecf27cbd6ed1db.tar.bz2
Fix typo.
Diffstat (limited to 'Lib/test/test_tarfile.py')
-rw-r--r--Lib/test/test_tarfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py
index 57fc062..f64964d 100644
--- a/Lib/test/test_tarfile.py
+++ b/Lib/test/test_tarfile.py
@@ -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)