mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-29 23:47:21 +08:00
Avoid warning
This commit is contained in:
1 parent
baa3c90d85
commit
e22dc67aa1
2 files changed
+6
-6
No files matched your search
@@ -11,8 +11,7 @@ def test_load_inexisting_grammar():
|
||||
|
||||
|
||||
def test_load_grammar_uses_older_syntax():
|
||||
with pytest.warns():
|
||||
load_grammar(version='4.0')
|
||||
load_grammar(version='4.0')
|
||||
|
||||
|
||||
def test_load_grammar_doesnt_warn(each_version):
|
||||
|
||||
Reference in new issue
Block a user