[Python-checkins] cpython (3.5): Issue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.

serhiy.storchaka python-checkins at python.org
Sat Apr 16 10:51:40 EDT 2016


https://hg.python.org/cpython/rev/e44a2dc62c11
changeset:   101015:e44a2dc62c11
branch:      3.5
parent:      101013:8f02747ff908
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sat Apr 16 17:51:00 2016 +0300
summary:
  Issue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
Patch by Aviv Palivoda.

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


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

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


More information about the Python-checkins mailing list