Skip to content

Commit 9b7bc45

Browse files
committed
Fix tests for Python 2
1 parent 75f5b44 commit 9b7bc45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/test_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_view_with_inline_scss(client):
2626
assert response.status_code == 200
2727
assert re.search(
2828
r'<style type="text/css">.title \{\n\s*font: bold 30px Arial, sans-serif;\n\}\s*</style>',
29-
response.content.decode()
29+
response.content.decode('utf8')
3030
)
3131

3232

0 commit comments

Comments
 (0)