From e8792c1f65ebbcbd7958570c66c6bc4132052c12 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Fri, 29 Aug 2003 18:49:05 +0000 Subject: Add tests for meta- bit set --- Lib/test/test_curses.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index e65adbf..10ebe09 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -198,7 +198,10 @@ def unit_tests(): from curses import ascii for ch, expected in [('a', 'a'), ('A', 'A'), (';', ';'), (' ', ' '), - ('\x7f', '^?'), ('\n', '^J'), ('\0', '^@')]: + ('\x7f', '^?'), ('\n', '^J'), ('\0', '^@'), + # Meta-bit characters + ('\x8a', '!^J'), ('\xc1', '!A'), + ]: if ascii.unctrl(ch) != expected: print 'curses.unctrl fails on character', repr(ch) -- cgit v0.12