[Python-checkins] python/dist/src/Lib/test test_unicode.py,1.69,1.70
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sat, 14 Sep 2002 02:10:06 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv10657
Modified Files:
test_unicode.py
Log Message:
Use integer above sys.maxunicode for range test. Fixes #608884.
2.2.2 candidate.
Index: test_unicode.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_unicode.py,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** test_unicode.py 4 Sep 2002 20:31:32 -0000 1.69
--- test_unicode.py 14 Sep 2002 09:10:04 -0000 1.70
***************
*** 462,466 ****
verify(value == u'abc, def')
! for ordinal in (-100, 0x20000):
try:
u"%c" % ordinal
--- 462,466 ----
verify(value == u'abc, def')
! for ordinal in (-100, 0x200000):
try:
u"%c" % ordinal
***************
*** 468,472 ****
pass
else:
! print '*** formatting u"%%c" % %i should give a ValueError' % ordinal
# formatting jobs delegated from the string implementation:
--- 468,472 ----
pass
else:
! print '*** formatting u"%%c" %% %i should give a ValueError' % ordinal
# formatting jobs delegated from the string implementation: