changeset: 99665:dcf9e9ae5393 parent: 99663:a85675dabb8f parent: 99664:7995a81236b6 user: Serhiy Storchaka date: Wed Dec 23 00:37:50 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 a85675dabb8f -r dcf9e9ae5393 Lib/test/test_os.py --- a/Lib/test/test_os.py Wed Dec 23 00:09:01 2015 +0200 +++ b/Lib/test/test_os.py Wed Dec 23 00:37:50 2015 +0200 @@ -791,6 +791,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):