changeset: 99664:7995a81236b6 branch: 3.5 parent: 99662:767262c149ca user: Serhiy Storchaka date: Wed Dec 23 00:37:34 2015 +0200 files: Lib/test/test_os.py description: Issue #25860: Fixed test failure caused by inconsistency of os.walk() and os.fwalk() parameter names. diff -r 767262c149ca -r 7995a81236b6 Lib/test/test_os.py --- a/Lib/test/test_os.py Wed Dec 23 00:08:24 2015 +0200 +++ b/Lib/test/test_os.py Wed Dec 23 00:37:34 2015 +0200 @@ -792,6 +792,8 @@ # Wrapper to hide minor differences between os.walk and os.fwalk # to tests both functions with the same code base def walk(self, directory, **kwargs): + if 'follow_symlinks' in kwargs: + kwargs['followlinks'] = kwargs.pop('follow_symlinks') return os.walk(directory, **kwargs) def setUp(self):