From 48e47a0ec059dfaf0d5bb23925dbe2ec471bbcc3 Mon Sep 17 00:00:00 2001 From: Benson Muite Date: Sat, 9 May 2026 11:05:37 +0300 Subject: [PATCH] Error message differs on Python 3.14 --- test/test_ueq_grammar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()