Fix typo.

This commit is contained in:
Serhiy Storchaka 2014-01-24 22:28:06 +02:00
parent 2d5a0928f1
commit a7184e617a
1 changed files with 1 additions and 1 deletions

View 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)