diff options
Diffstat (limited to 'testsuite/E30.py')
-rw-r--r-- | testsuite/E30.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/E30.py b/testsuite/E30.py index d2d7bf3..1aa1137 100644 --- a/testsuite/E30.py +++ b/testsuite/E30.py @@ -88,3 +88,32 @@ def function(): It gives error E303: too many blank lines (3) """ #: + +#: E305:7:1 +def a(): + print + + # comment + + # another comment +a() +#: E305:8:1 +def a(): + print + + # comment + + # another comment + +try: + a() +except: + pass +#: E305:5:1 +def a(): + print + +# Two spaces before comments, too. +if a(): + a() +#: |