Fix shutil.which() test for issue #16993.
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py
index 6ae051b..bfd0fb5 100644
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -1318,7 +1318,7 @@
# 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)
- self.assertEqual(rv, self.temp_file.name[:-4] + ".exe")
+ self.assertEqual(rv, self.temp_file.name[:-4] + ".EXE")
class TestMove(unittest.TestCase):