Some preparations to get Python 2 tests working.

This commit is contained in:
Dave Halter
2017-07-31 12:33:47 +02:00
parent 5fbbb225dd
commit 58c32591d0
8 changed files with 25 additions and 24 deletions

View File

@@ -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():