aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/parso/py2/tests/normalizer_issue_files/E27.py
blob: 9149f0aa52601d30b16c823c9a8c38aa5c918c9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Okay
from u import (a, b)
from v import c, d
#: E221:13
from w import  (e, f)
#: E275:13
from w import(e, f)
#: E275:29
from importable.module import(e, f)
try:
    #: E275:33
    from importable.module import(e, f)
except ImportError:
    pass
# Okay
True and False
#: E221:8
True and  False
#: E221:4
True  and False
#: E221:2
if   1:
    pass
# Syntax Error, no indentation
#: E903+1
if   1:
pass
#: E223:8
True and		False
#: E223:4 E223:9
True		and	False
#: E221:5
a and  b
#: E221:5
1 and  b
#: E221:5
a and  2
#: E221:1 E221:6
1  and  b
#: E221:1 E221:6
a  and  2
#: E221:4
this  and False
#: E223:5
a and	b
#: E223:1
a		and b
#: E223:4 E223:9
this		and	False