From 6ab88c9b5831b037de03cdde1caa186918a9292f Mon Sep 17 00:00:00 2001 From: Tom Talbot Date: Thu, 10 Jul 2014 17:15:56 +0100 Subject: [PATCH] Change assertRegexMatches to assertRegex --- wagtail/wagtaildocs/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail/wagtaildocs/tests.py b/wagtail/wagtaildocs/tests.py index e7a67670d..007bff67c 100644 --- a/wagtail/wagtaildocs/tests.py +++ b/wagtail/wagtaildocs/tests.py @@ -416,4 +416,4 @@ class TestUsedBy(TestCase, WagtailTestUtils): response = self.client.get(reverse('wagtaildocs_document_usage', args=(1,))) # There's no usage so there should be no table rows - self.assertRegexpMatches(response.content, '(\s|\n)*') + self.assertRegex(response.content, '(\s|\n)*')