diff --git a/pylib/tests/test_models.py b/pylib/tests/test_models.py index f527bf389..177579f4e 100644 --- a/pylib/tests/test_models.py +++ b/pylib/tests/test_models.py @@ -215,7 +215,7 @@ 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("\(a\) [...] \[ [...] \]") + assert f.cards()[0].q().endswith(r"\(a\) [...] \[ [...] \]") def test_chained_mods():