mirror of https://github.com/zulip/zulip.git
refactor: Remove six.moves.StringIO import.
This commit is contained in:
parent
6b12fe24b6
commit
de319b4558
|
@ -5,7 +5,7 @@ import hashlib
|
|||
import sys
|
||||
from typing import Any, List, Optional, Text
|
||||
from importlib import import_module
|
||||
from six.moves import cStringIO as StringIO
|
||||
from io import StringIO
|
||||
|
||||
from django.db import connections, DEFAULT_DB_ALIAS
|
||||
from django.db.utils import OperationalError
|
||||
|
|
|
@ -51,7 +51,7 @@ import ujson
|
|||
import mock
|
||||
import os
|
||||
import sys
|
||||
from six.moves import cStringIO as StringIO
|
||||
from io import StringIO
|
||||
from django.conf import settings
|
||||
|
||||
from zerver.lib.str_utils import force_str
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
import sys
|
||||
from unittest import TestCase
|
||||
from six.moves import cStringIO as StringIO
|
||||
from io import StringIO
|
||||
|
||||
from zerver.lib.type_debug import print_types
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ from PIL import Image
|
|||
|
||||
from boto.s3.connection import S3Connection
|
||||
from boto.s3.key import Key
|
||||
from six.moves import StringIO
|
||||
from io import StringIO
|
||||
import mock
|
||||
import os
|
||||
import io
|
||||
|
|
|
@ -54,7 +54,7 @@ import datetime
|
|||
import logging
|
||||
import requests
|
||||
import ujson
|
||||
from six.moves import cStringIO as StringIO
|
||||
from io import StringIO
|
||||
import re
|
||||
import importlib
|
||||
|
||||
|
|
Loading…
Reference in New Issue