mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 12:54:29 +08:00
Some preparations to get Python 2 tests working.
This commit is contained in:
@@ -2,8 +2,9 @@ import parso
|
||||
|
||||
|
||||
def issues(code):
|
||||
grammar = parso.load_grammar()
|
||||
module = parso.parse(code)
|
||||
return module._get_normalizer_issues()
|
||||
return module._get_normalizer_issues(grammar)
|
||||
|
||||
|
||||
def test_eof_newline():
|
||||
|
||||
Reference in New Issue
Block a user