Kaydet (Commit) 1c0bf95f authored tarafından Mads Jensen's avatar Mads Jensen Kaydeden (comit) Tim Graham

Refs #23919 -- Removed a stray object-inheritance.

Follow up to 081e7871.
üst 0cd465b6
......@@ -109,7 +109,7 @@ class DefaultLoggingTests(SetupDefaultLoggingMixin, LoggingCaptureMixin, SimpleT
self.assertEqual(self.logger_output.getvalue(), '')
class LoggingAssertionMixin(object):
class LoggingAssertionMixin:
def assertLogsRequest(self, url, level, msg, status_code, logger='django.request', exc_class=None):
with self.assertLogs(logger, level) as cm:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment