[Python-checkins] python/dist/src/Lib/test test_codeccallbacks.py,1.6,1.7

doerwalter@users.sourceforge.net doerwalter@users.sourceforge.net
Thu, 09 Jan 2003 03:38:52 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv18201/Lib/test

Modified Files:
	test_codeccallbacks.py 
Log Message:
Make the test scripts work again with narrow Python builds.


Index: test_codeccallbacks.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_codeccallbacks.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** test_codeccallbacks.py	8 Jan 2003 23:22:13 -0000	1.6
--- test_codeccallbacks.py	9 Jan 2003 11:38:50 -0000	1.7
***************
*** 507,511 ****
          # and inline implementations
          v = (1, 5, 10, 50, 100, 500, 1000, 5000, 10000, 50000)
!         if sys.maxunicode>50000:
               v += (100000, 500000, 1000000)
          s = u"".join([unichr(x) for x in v])
--- 507,511 ----
          # and inline implementations
          v = (1, 5, 10, 50, 100, 500, 1000, 5000, 10000, 50000)
!         if sys.maxunicode>=100000:
               v += (100000, 500000, 1000000)
          s = u"".join([unichr(x) for x in v])