[Python-checkins] bpo-38325: Skip non-BMP tests of test_winconsoleio (GH-18448)
Victor Stinner
webhook-mailer at python.org
Mon Feb 10 18:58:29 EST 2020
https://github.com/python/cpython/commit/038770edc4680e9a3dc39bacb35a8358034fb901
commit: 038770edc4680e9a3dc39bacb35a8358034fb901
branch: master
author: Victor Stinner <vstinner at python.org>
committer: GitHub <noreply at github.com>
date: 2020-02-11T00:58:23+01:00
summary:
bpo-38325: Skip non-BMP tests of test_winconsoleio (GH-18448)
Skip tests on non-BMP characters of test_winconsoleio.
files:
A Misc/NEWS.d/next/Tests/2020-02-11-00-38-32.bpo-38325.HgmfoE.rst
M Lib/test/test_winconsoleio.py
diff --git a/Lib/test/test_winconsoleio.py b/Lib/test/test_winconsoleio.py
index 9a61e48881d90..a44f7bbd27b70 100644
--- a/Lib/test/test_winconsoleio.py
+++ b/Lib/test/test_winconsoleio.py
@@ -144,6 +144,10 @@ def test_input(self):
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 @@ def test_partial_reads(self):
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
diff --git a/Misc/NEWS.d/next/Tests/2020-02-11-00-38-32.bpo-38325.HgmfoE.rst b/Misc/NEWS.d/next/Tests/2020-02-11-00-38-32.bpo-38325.HgmfoE.rst
new file mode 100644
index 0000000000000..7503379915260
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2020-02-11-00-38-32.bpo-38325.HgmfoE.rst
@@ -0,0 +1 @@
+Skip tests on non-BMP characters of test_winconsoleio.
More information about the Python-checkins
mailing list