Fix pathext test for shutil.which() which was
broken after applying the patch for issue #16957.
1 file changed