diff options
author | Inada Naoki <songofacandy@gmail.com> | 2022-04-14 07:00:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-14 07:00:35 (GMT) |
commit | 13b17e2a0a56d506d62a0bf2774e3deb4cbaeb72 (patch) | |
tree | 506c197765d1aa1f14cfe51134db7088288fd83c /Lib/test/test_io.py | |
parent | 7b87e8af0cb8df0d76e8ab18a9b12affb4526103 (diff) | |
download | cpython-13b17e2a0a56d506d62a0bf2774e3deb4cbaeb72.zip cpython-13b17e2a0a56d506d62a0bf2774e3deb4cbaeb72.tar.gz cpython-13b17e2a0a56d506d62a0bf2774e3deb4cbaeb72.tar.bz2 |
gh-91156: Fix `encoding="locale"` in UTF-8 mode (GH-70056)
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r-- | Lib/test/test_io.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 29fe287..c86251d 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -2737,6 +2737,7 @@ class TextIOWrapperTest(unittest.TestCase): os.environ.update(old_environ) @support.cpython_only + @unittest.skipIf(sys.platform != "win32", "Windows-only test") @unittest.skipIf(sys.flags.utf8_mode, "utf-8 mode is enabled") def test_device_encoding(self): # Issue 15989 |