[Python-checkins] cpython: Oversight in previous commit for test_pep277.

florent.xicluna python-checkins at python.org
Thu Nov 3 23:44:24 CET 2011


http://hg.python.org/cpython/rev/7d5ac0fc8a35
changeset:   73335:7d5ac0fc8a35
user:        Florent Xicluna <florent.xicluna at gmail.com>
date:        Thu Nov 03 23:44:15 2011 +0100
summary:
  Oversight in previous commit for test_pep277.

files:
  Lib/test/test_pep277.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_pep277.py b/Lib/test/test_pep277.py
--- a/Lib/test/test_pep277.py
+++ b/Lib/test/test_pep277.py
@@ -142,7 +142,7 @@
             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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list