Author: Armin Rigo <ar...@tunes.org> Branch: py3.5 Changeset: r94989:476f93d18c1d Date: 2018-08-11 19:28 +0200 http://bitbucket.org/pypy/pypy/changeset/476f93d18c1d/
Log: Another test that used to crash before revision 179c172169f1 diff --git a/pypy/interpreter/test/test_syntax.py b/pypy/interpreter/test/test_syntax.py --- a/pypy/interpreter/test/test_syntax.py +++ b/pypy/interpreter/test/test_syntax.py @@ -701,6 +701,15 @@ pass """ + def test_bug_annotation_inside_nested_function(self): + """ + # this used to crash + def f1(): + def f2(*args: int): + pass + f1() + """ + class AppTestSyntaxError: def test_tokenizer_error_location(self): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit