Oversight in previous commit for test_pep277.
authorFlorent Xicluna <florent.xicluna@gmail.com>
Thu, 3 Nov 2011 22:44:15 +0000 (23:44 +0100)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Thu, 3 Nov 2011 22:44:15 +0000 (23:44 +0100)
Lib/test/test_pep277.py

index 9d98f2163f461808a0ff59d436bcbb04c054f3ee..602c064e9e19a151558381d061541781a58e9b1c 100644 (file)
@@ -142,7 +142,7 @@ class UnicodeFileTests(unittest.TestCase):
             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