diff --git a/weasyprint/tests/test_api.py b/weasyprint/tests/test_api.py
index 69adb128..b1dd2073 100644
--- a/weasyprint/tests/test_api.py
+++ b/weasyprint/tests/test_api.py
@@ -972,7 +972,7 @@ def test_html_meta():
-
diff --git a/weasyprint/tests/test_pdf.py b/weasyprint/tests/test_pdf.py
index c1f7de49..51ec8f46 100644
--- a/weasyprint/tests/test_pdf.py
+++ b/weasyprint/tests/test_pdf.py
@@ -371,7 +371,7 @@ def test_document_info():
Test document
Another title
-
diff --git a/weasyprint/tests/test_presentational_hints.py b/weasyprint/tests/test_presentational_hints.py
index 5bd35f34..8c3df275 100644
--- a/weasyprint/tests/test_presentational_hints.py
+++ b/weasyprint/tests/test_presentational_hints.py
@@ -15,7 +15,6 @@ from __future__ import division, unicode_literals
from .. import CSS, HTML
from .testing_utils import assert_no_logs
-
PH_TESTING_CSS = CSS(string='''
@page {margin: 0; size: 1000px 1000px}
body {margin: 0}