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 36306cf commit f41c16bCopy full SHA for f41c16b
1 file changed
Lib/test/test_curses.py
@@ -268,7 +268,12 @@ def test_output_character(self):
268
stdscr.echochar(b'A')
269
stdscr.echochar(65)
270
with self.assertRaises((UnicodeEncodeError, OverflowError)):
271
- stdscr.echochar('\u20ac')
+ # Unicode is not fully supported yet, but at least it does
272
+ # not crash.
273
+ # It is supposed to fail because either the character is
274
+ # not encodable with the current encoding, or it is encoded to
275
+ # a multibyte sequence.
276
+ stdscr.echochar('\u0114')
277
stdscr.echochar('A', curses.A_BOLD)
278
self.assertIs(stdscr.is_wintouched(), False)
279
0 commit comments