[Python-checkins] python/dist/src/Lib/test test_curses.py,1.5,1.6
akuchling at users.sourceforge.net
akuchling at users.sourceforge.net
Fri Aug 29 12:49:07 EDT 2003
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv9816
Modified Files:
test_curses.py
Log Message:
Add tests for meta- bit set
Index: test_curses.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_curses.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** test_curses.py 29 Aug 2003 18:37:37 -0000 1.5
--- test_curses.py 29 Aug 2003 18:49:05 -0000 1.6
***************
*** 199,203 ****
for ch, expected in [('a', 'a'), ('A', 'A'),
(';', ';'), (' ', ' '),
! ('\x7f', '^?'), ('\n', '^J'), ('\0', '^@')]:
if ascii.unctrl(ch) != expected:
print 'curses.unctrl fails on character', repr(ch)
--- 199,206 ----
for ch, expected in [('a', 'a'), ('A', 'A'),
(';', ';'), (' ', ' '),
! ('\x7f', '^?'), ('\n', '^J'), ('\0', '^@'),
! # Meta-bit characters
! ('\x8a', '!^J'), ('\xc1', '!A'),
! ]:
if ascii.unctrl(ch) != expected:
print 'curses.unctrl fails on character', repr(ch)
More information about the Python-checkins
mailing list