Source

pypy / pypy / rlib / parsing / test / test_ebnfparse.py

The branch 'callback-jit' does not exist.
Diff from to

pypy/rlib/parsing/test/test_ebnfparse.py

 IGNORE: " ";
 foo: "A"?;
 """
-    excinfo = py.test.raises(AssertionError, parse_ebnf, grammar)
-    assert "Rule 'foo'" in str(excinfo.value)
+    excinfo = py.test.raises(ValueError, parse_ebnf, grammar)
+    assert "foo" in str(excinfo.value)