diff --git a/test/test_ueq_grammar.py b/test/test_ueq_grammar.py index f995e68..fbd814c 100644 --- a/test/test_ueq_grammar.py +++ b/test/test_ueq_grammar.py @@ -122,7 +122,7 @@ def test_module_abstract_classes(ueq_grammar): """ # TODO: with pytest.raises(TypeError, match='Can\'t instantiate abstract class'): - abc_err = r"Can't instantiate abstract class \w+ with abstract methods? __init__" + abc_err = r"Can't instantiate abstract class \w+" with pytest.raises(TypeError, match=abc_err): ueq_grammar.pred()