]> granicus.if.org Git - python/commitdiff
Issue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 16 Apr 2016 14:51:00 +0000 (17:51 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 16 Apr 2016 14:51:00 +0000 (17:51 +0300)
Patch by Aviv Palivoda.

Lib/test/test_os.py

index 66f563465fe3f9c32d3d6fc02c6cdd854da00797..874f9e4c909879cf8528c243c62e506e693efd99 100644 (file)
@@ -843,7 +843,7 @@ class WalkTests(unittest.TestCase):
 
     def test_walk_topdown(self):
         # Walk top-down.
-        all = list(os.walk(self.walk_path))
+        all = list(self.walk(self.walk_path))
 
         self.assertEqual(len(all), 4)
         # We can't know which order SUB1 and SUB2 will appear in.