[Python-checkins] python/dist/src/Lib/test test_StringIO.py,1.12,1.13
mwh@sourceforge.net
mwh@sourceforge.net
Mon, 13 May 2002 02:42:18 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv32637/Lib/test
Modified Files:
test_StringIO.py
Log Message:
Make StringIO work in --disable-unicode builds...
Index: test_StringIO.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_StringIO.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** test_StringIO.py 16 Feb 2002 07:34:19 -0000 1.12
--- test_StringIO.py 13 May 2002 09:42:16 -0000 1.13
***************
*** 74,77 ****
--- 74,79 ----
def test_unicode(self):
+ if not test_support.have_unicode: return
+
# The StringIO module also supports concatenating Unicode
# snippets to larger Unicode strings. This is tested by this