mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed str() conversion of type and method __name__.
This commit is contained in:
@@ -111,7 +111,7 @@ class LiveServerPort(LiveServerBase):
|
||||
Each LiveServerTestCase binds to a unique port or fails to start a
|
||||
server thread when run concurrently (#26011).
|
||||
"""
|
||||
TestCase = type(str("TestCase"), (LiveServerBase,), {})
|
||||
TestCase = type("TestCase", (LiveServerBase,), {})
|
||||
try:
|
||||
TestCase.setUpClass()
|
||||
except socket.error as e:
|
||||
|
||||
Reference in New Issue
Block a user