mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[py3] Used compatible imports of StringIO.
This commit is contained in:
@@ -2,7 +2,6 @@ from __future__ import absolute_import, unicode_literals
|
||||
|
||||
import datetime
|
||||
import pickle
|
||||
from StringIO import StringIO
|
||||
|
||||
from django.conf import settings
|
||||
from django.contrib.auth.models import User
|
||||
@@ -11,6 +10,7 @@ from django.core import management
|
||||
from django.db import connections, router, DEFAULT_DB_ALIAS
|
||||
from django.db.models import signals
|
||||
from django.test import TestCase
|
||||
from django.utils.six import StringIO
|
||||
|
||||
from .models import Book, Person, Pet, Review, UserProfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user