mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import sys
|
||||
import unittest
|
||||
from io import StringIO
|
||||
|
||||
from django.db import connection
|
||||
from django.test import TestCase
|
||||
from django.test.runner import DiscoverRunner
|
||||
from django.utils import six
|
||||
|
||||
from .models import Person
|
||||
|
||||
@@ -33,7 +33,7 @@ class TestDebugSQL(unittest.TestCase):
|
||||
suite.addTest(self.ErrorTest())
|
||||
suite.addTest(self.PassingTest())
|
||||
old_config = runner.setup_databases()
|
||||
stream = six.StringIO()
|
||||
stream = StringIO()
|
||||
resultclass = runner.get_resultclass()
|
||||
runner.test_runner(
|
||||
verbosity=verbosity,
|
||||
|
||||
Reference in New Issue
Block a user