diff options
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 b2cd4cc..15fd65b 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: |