diff --git a/test/fonts/test_set_font.py b/test/fonts/test_set_font.py index eca932605..05c0e8a40 100644 --- a/test/fonts/test_set_font.py +++ b/test/fonts/test_set_font.py @@ -37,7 +37,8 @@ def test_set_unknown_style(): with pytest.raises(ValueError) as e: pdf.set_font("Times", style="bold") assert ( - str(e.value) == "Unknown style provided (only B/I/S/U letters are allowed): BDLO" + str(e.value) + == "Unknown style provided (only B/I/S/U letters are allowed): BDLO" )