From 1c0bf95ff6f0dd32dd0424f0becbdfcf344d37be Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Tue, 16 Oct 2018 15:58:53 +0200 Subject: [PATCH] Refs #23919 -- Removed a stray object-inheritance. Follow up to 081e78716085ff4af08604af5d084c8fd27c0730. --- tests/logging_tests/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/logging_tests/tests.py b/tests/logging_tests/tests.py index e38a193693..d48b3cd8db 100644 --- a/tests/logging_tests/tests.py +++ b/tests/logging_tests/tests.py @@ -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: