mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[py3] Used compatible imports of StringIO.
This commit is contained in:
@@ -493,7 +493,7 @@ __test__ = {"API_TEST": r"""
|
||||
# Standard doctests do fairly
|
||||
>>> import json
|
||||
>>> from django.utils.xmlutils import SimplerXMLGenerator
|
||||
>>> from StringIO import StringIO
|
||||
>>> from django.utils.six import StringIO
|
||||
|
||||
>>> def produce_long():
|
||||
... return 42L
|
||||
|
||||
Reference in New Issue
Block a user