diff options
| author | Steve Dower <steve.dower@python.org> | 2019-08-21 13:43:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-21 13:43:06 -0700 |
| commit | 75e064962ee0e31ec19a8081e9d9cc957baf6415 (patch) | |
| tree | eff4eb945f41439d4ad87a0786f3f519471601ea /Lib/test/test_os.py | |
| parent | e1c638da6a065af6803028ced1afcc679e63f59d (diff) | |
| download | cpython-git-75e064962ee0e31ec19a8081e9d9cc957baf6415.tar.gz | |
bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287)
Diffstat (limited to 'Lib/test/test_os.py')
| -rw-r--r-- | Lib/test/test_os.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index b2cd4cca5f..15fd65b551 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -3358,10 +3358,7 @@ class OSErrorTests(unittest.TestCase): if hasattr(os, "lchmod"): funcs.append((self.filenames, os.lchmod, 0o777)) if hasattr(os, "readlink"): - if sys.platform == "win32": - funcs.append((self.unicode_filenames, os.readlink,)) - else: - funcs.append((self.filenames, os.readlink,)) + funcs.append((self.filenames, os.readlink,)) for filenames, func, *func_args in funcs: |
