diff options
-rw-r--r-- | Lib/test/test_shutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index 23fc1f9..07d0ec9 100644 --- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -1349,7 +1349,7 @@ class TestWhich(unittest.TestCase): def test_pathext_checking(self): # Ask for the file without the ".exe" extension, then ensure that # it gets found properly with the extension. - rv = shutil.which(self.temp_file.name[:-4], path=self.dir) + rv = shutil.which(self.file[:-4], path=self.dir) self.assertEqual(rv, self.temp_file.name[:-4] + ".EXE") |