diff options
author | Victor Stinner <vstinner@python.org> | 2020-02-10 23:58:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 23:58:23 (GMT) |
commit | 038770edc4680e9a3dc39bacb35a8358034fb901 (patch) | |
tree | 101f98d70001bc3cffa3c9303bab97111788d601 /Lib | |
parent | c4a65ed7fe342bd18b5a5b0eea3470dc4fc31160 (diff) | |
download | cpython-038770edc4680e9a3dc39bacb35a8358034fb901.zip cpython-038770edc4680e9a3dc39bacb35a8358034fb901.tar.gz cpython-038770edc4680e9a3dc39bacb35a8358034fb901.tar.bz2 |
bpo-38325: Skip non-BMP tests of test_winconsoleio (GH-18448)
Skip tests on non-BMP characters of test_winconsoleio.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_winconsoleio.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_winconsoleio.py b/Lib/test/test_winconsoleio.py index 9a61e48..a44f7bb 100644 --- a/Lib/test/test_winconsoleio.py +++ b/Lib/test/test_winconsoleio.py @@ -144,6 +144,10 @@ class WindowsConsoleIOTests(unittest.TestCase): self.assertStdinRoundTrip('ϼўТλФЙ') # Combining characters self.assertStdinRoundTrip('A͏B ﬖ̳AA̝') + + # bpo-38325 + @unittest.skipIf(True, "Handling Non-BMP characters is broken") + def test_input_nonbmp(self): # Non-BMP self.assertStdinRoundTrip('\U00100000\U0010ffff\U0010fffd') @@ -163,6 +167,8 @@ class WindowsConsoleIOTests(unittest.TestCase): self.assertEqual(actual, expected, 'stdin.read({})'.format(read_count)) + # bpo-38325 + @unittest.skipIf(True, "Handling Non-BMP characters is broken") def test_partial_surrogate_reads(self): # Test that reading less than 1 full character works when stdin # contains surrogate pairs that cannot be decoded to UTF-8 without |