mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
This commit is contained in:
@@ -9,7 +9,6 @@ import socket
|
||||
from django.test import LiveServerTestCase, override_settings
|
||||
from django.utils._os import upath
|
||||
from django.utils.http import urlencode
|
||||
from django.utils.six import text_type
|
||||
from django.utils.six.moves.urllib.error import HTTPError
|
||||
from django.utils.six.moves.urllib.request import urlopen
|
||||
|
||||
@@ -48,7 +47,7 @@ class LiveServerAddress(LiveServerBase):
|
||||
cls.live_server_url_test = [cls.live_server_url]
|
||||
|
||||
def test_live_server_url_is_class_property(self):
|
||||
self.assertIsInstance(self.live_server_url_test[0], text_type)
|
||||
self.assertIsInstance(self.live_server_url_test[0], str)
|
||||
self.assertEqual(self.live_server_url_test[0], self.live_server_url)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user