diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-22 22:37:50 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-22 22:37:50 (GMT) |
| commit | 85896f72d5075f3d34d8a743c2e4e954e45f1b54 (patch) | |
| tree | 04d234d00f5e2aef08fb2918db28a081e8f8929c /Lib/test/test_os.py | |
| parent | 345e78e5660ae5dc3943661963858e66ccdcaa87 (diff) | |
| parent | a17ca19d340766153db63959c307f5fd73880c19 (diff) | |
| download | cpython-85896f72d5075f3d34d8a743c2e4e954e45f1b54.zip cpython-85896f72d5075f3d34d8a743c2e4e954e45f1b54.tar.gz cpython-85896f72d5075f3d34d8a743c2e4e954e45f1b54.tar.bz2 | |
Issue #25860: Fixed test failure caused by inconsistency of os.walk() and
os.fwalk() parameter names.
Diffstat (limited to 'Lib/test/test_os.py')
| -rw-r--r-- | Lib/test/test_os.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 723649b..5ec911e 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -791,6 +791,8 @@ class WalkTests(unittest.TestCase): # 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): |
