Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d5a092 commit a7184e6Copy full SHA for a7184e6
1 file changed
Lib/test/test_tarfile.py
@@ -243,7 +243,7 @@ def test_non_existent_tarfile(self):
243
if sys.platform == 'win32' and '|' in self.mode:
244
# Issue #20384: On Windows os.open() error message doesn't
245
# contain file name.
246
- text = ''
+ test = ''
247
with self.assertRaisesRegex(FileNotFoundError, test):
248
tarfile.open("xxx", self.mode)
249
0 commit comments