diff -r ebb1a16de89b Lib/test/test_os.py --- a/Lib/test/test_os.py Sat Apr 16 11:51:31 2016 +0000 +++ b/Lib/test/test_os.py Sat Apr 16 17:16:50 2016 +0300 @@ -857,7 +857,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.