diff --git a/Lib/test/test_pep277.py b/Lib/test/test_pep277.py index 9d98f2163f4..602c064e9e1 100644 --- a/Lib/test/test_pep277.py +++ b/Lib/test/test_pep277.py @@ -142,7 +142,7 @@ def test_normalize(self): self._apply_failure(os.rmdir, name) self._apply_failure(os.remove, name) # listdir may append a wildcard to the filename, so dont check - self._apply_failure(os.listdir, name, False) + self._apply_failure(os.listdir, name, check_filename=False) # Skip the test on darwin, because darwin uses a normalization different # than Python NFD normalization: filenames are different even if we use