mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-03 17:57:30 +08:00
Move the iter_errors and normalizer methods to grammar.py.
This commit is contained in:
1 parent
3e39a04bb1
commit
90edb2d0cf
9 files changed
+47
-40
No files matched your search
@@ -19,5 +19,5 @@ def test_on_itself(each_version):
|
||||
path = os.path.dirname(os.path.dirname(__file__)) + '/parso'
|
||||
for file in get_python_files(path):
|
||||
tree = grammar.parse(path=file)
|
||||
errors = list(tree._iter_errors(grammar))
|
||||
errors = list(grammar.iter_errors(tree))
|
||||
assert not errors
|
||||
Reference in new issue
Block a user