mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix typo.
This commit is contained in:
parent
2d5a0928f1
commit
a7184e617a
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ class CommonReadTest(ReadTest):
|
||||||
if sys.platform == 'win32' and '|' in self.mode:
|
if sys.platform == 'win32' and '|' in self.mode:
|
||||||
# Issue #20384: On Windows os.open() error message doesn't
|
# Issue #20384: On Windows os.open() error message doesn't
|
||||||
# contain file name.
|
# contain file name.
|
||||||
text = ''
|
test = ''
|
||||||
with self.assertRaisesRegex(FileNotFoundError, test):
|
with self.assertRaisesRegex(FileNotFoundError, test):
|
||||||
tarfile.open("xxx", self.mode)
|
tarfile.open("xxx", self.mode)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue