From a7184e617afb7face7a56b89feecf27cbd6ed1db Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Fri, 24 Jan 2014 22:28:06 +0200 Subject: [PATCH] Fix typo. --- Lib/test/test_tarfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index 57fc062cae5..f64964dd1da 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py @@ -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)