mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed unneeded str() calls
This commit is contained in:
@@ -60,7 +60,7 @@ class WSGIRequestHandlerTestCase(SimpleTestCase):
|
||||
handler = WSGIRequestHandler(request, '192.168.0.2', None)
|
||||
|
||||
with patch_logger('django.server', 'error') as messages:
|
||||
handler.log_message("GET %s %s", str('\x16\x03'), "4")
|
||||
handler.log_message("GET %s %s", '\x16\x03', "4")
|
||||
self.assertIn(
|
||||
"You're accessing the development server over HTTPS, "
|
||||
"but it only supports HTTP.",
|
||||
|
||||
Reference in New Issue
Block a user