Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 653a666 commit f4252dfCopy full SHA for f4252df
1 file changed
Lib/test/test_curses.py
@@ -266,7 +266,12 @@ def test_output_character(self):
266
stdscr.echochar(b'A')
267
stdscr.echochar(65)
268
with self.assertRaises((UnicodeEncodeError, OverflowError)):
269
- stdscr.echochar('\u20ac')
+ # Unicode is not fully supported yet, but at least it does
270
+ # not crash.
271
+ # It is supposed to fail because either the character is
272
+ # not encodable with the current encoding, or it is encoded to
273
+ # a multibyte sequence.
274
+ stdscr.echochar('\u0114')
275
stdscr.echochar('A', curses.A_BOLD)
276
self.assertIs(stdscr.is_wintouched(), False)
277
0 commit comments