mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Make StringIO work in --disable-unicode builds...
This commit is contained in:
parent
775c11f07a
commit
e1c67d1dc0
2 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue