mirror of
https://github.com/django/django.git
synced 2025-11-12 08:41:06 +00:00
Refs #23919 -- Removed a stray object-inheritance.
Follow up to 081e787160.
This commit is contained in:
parent
0cd465b63a
commit
1c0bf95ff6
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ class DefaultLoggingTests(SetupDefaultLoggingMixin, LoggingCaptureMixin, SimpleT
|
||||||
self.assertEqual(self.logger_output.getvalue(), '')
|
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):
|
def assertLogsRequest(self, url, level, msg, status_code, logger='django.request', exc_class=None):
|
||||||
with self.assertLogs(logger, level) as cm:
|
with self.assertLogs(logger, level) as cm:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue