mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-04 19:28:49 +08:00
Check better for more transitions
This commit is contained in:
1 parent
91d864b23d
commit
f66e47c540
2 files changed
+7
-4
No files matched your search
@@ -285,3 +285,6 @@ def test_ambiguities():
|
||||
|
||||
with pytest.raises(ValueError, match='ambiguous'):
|
||||
generate_grammar('''foo: bar | baz\nbar: 'x'\nbaz: "x"\n''', tokenize.PythonTokenTypes)
|
||||
|
||||
with pytest.raises(ValueError, match='ambiguous'):
|
||||
generate_grammar('''foo: bar | 'x'\nbar: 'x'\n''', tokenize.PythonTokenTypes)
|
||||
Reference in new issue
Block a user