diff --git a/pylib/tests/test_models.py b/pylib/tests/test_models.py
index f07d51eef..5e10c3aa0 100644
--- a/pylib/tests/test_models.py
+++ b/pylib/tests/test_models.py
@@ -215,7 +215,9 @@ def test_cloze_mathjax():
f["Text"] = r"\(a\) {{c1::b}} \[ {{c1::c}} \]"
assert d.addNote(f)
assert len(f.cards()) == 1
- assert f.cards()[0].q().endswith(r"\(a\) [...] \[ [...] \]")
+ assert (
+ f.cards()[0].q().endswith(r"\(a\) [...] \[ [...] \]")
+ )
def test_chained_mods():