diff options
author | Michael W. Hudson <mwh@python.net> | 2002-05-13 09:42:16 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-05-13 09:42:16 (GMT) |
commit | e1c67d1dc028b59805d29ee7e943e342da55d270 (patch) | |
tree | 0d8ac4a6960d44e6327f938aef67192d3b8f500b /Lib/test/test_StringIO.py | |
parent | 775c11f07ab766325b12f125ec52c495c0478b0b (diff) | |
download | cpython-e1c67d1dc028b59805d29ee7e943e342da55d270.zip cpython-e1c67d1dc028b59805d29ee7e943e342da55d270.tar.gz cpython-e1c67d1dc028b59805d29ee7e943e342da55d270.tar.bz2 |
Make StringIO work in --disable-unicode builds...
Diffstat (limited to 'Lib/test/test_StringIO.py')
-rw-r--r-- | Lib/test/test_StringIO.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_StringIO.py b/Lib/test/test_StringIO.py index a340e3b..9deba0d 100644 --- a/Lib/test/test_StringIO.py +++ b/Lib/test/test_StringIO.py @@ -73,6 +73,8 @@ class TestStringIO(TestGenericStringIO): 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 # method. Note that cStringIO does not support this extension. |