Fix pathext test for shutil.which() which was
broken after applying the patch for issue #16957.
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py
index f6e5a9c..8ac350a 100644
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -1338,7 +1338,7 @@
     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")