mirror of
https://github.com/python/cpython.git
synced 2024-12-12 11:23:56 +08:00
Fix typo.
This commit is contained in:
parent
2d5a0928f1
commit
a7184e617a
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user