Commits

Sylvain Thénault committed 3ec566d

test for #70381: IndendationError in import causes crash

Comments (0)

Files changed (2)

test/input/func_import_syntax_error.py

+import syntax_error

test/messages/func_import_syntax_error.txt

+C:  1: Missing docstring
+C:  1: Missing required attribute "__revision__"
+F:  1: Unable to import 'syntax_error' (expected an indented block (<string>, line 2))
+W:  1: Unused import syntax_error