mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-10 16:24:49 +00:00
Fix Python 3 test failure
This commit is contained in:
parent
f4b5145368
commit
2fde7c6310
1 changed files with 1 additions and 1 deletions
|
|
@ -413,4 +413,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.assertRegex(str(response.content), '<tbody>(\s|\n)*</tbody>')
|
||||
self.assertRegex(response.content, b'<tbody>(\s|\n)*</tbody>')
|
||||
|
|
|
|||
Loading…
Reference in a new issue