mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.
This commit is contained in:
@@ -527,4 +527,4 @@ class LogFormattersTests(SimpleTestCase):
|
||||
|
||||
with patch_django_server_logger() as logger_output:
|
||||
logger.info(log_msg)
|
||||
six.assertRegex(self, logger_output.getvalue(), r'^\[[-:,.\s\d]+\] %s' % log_msg)
|
||||
self.assertRegex(logger_output.getvalue(), r'^\[[-:,.\s\d]+\] %s' % log_msg)
|
||||
|
||||
Reference in New Issue
Block a user