Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a7184e6

Browse files
Fix typo.
1 parent 2d5a092 commit a7184e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_tarfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def test_non_existent_tarfile(self):
243243
if sys.platform == 'win32' and '|' in self.mode:
244244
# Issue #20384: On Windows os.open() error message doesn't
245245
# contain file name.
246-
text = ''
246+
test = ''
247247
with self.assertRaisesRegex(FileNotFoundError, test):
248248
tarfile.open("xxx", self.mode)
249249

0 commit comments

Comments
 (0)