aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/parso/py2/tests/normalizer_issue_files/E10.py
blob: 38d7a19043c5aa7b64970460526e595791607f7f (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
50
51
for a in 'abc':
    for b in 'xyz':
        hello(a)  # indented with 8 spaces
        #: E903:0
	hello(b)  # indented with 1 tab
if True:
    #: E101:0
	pass

#: E122+1
change_2_log = \
"""Change 2 by slamb@testclient on 2006/04/13 21:46:23

	creation
"""

p4change = {
    2: change_2_log,
}


class TestP4Poller(unittest.TestCase):
    def setUp(self):
        self.setUpGetProcessOutput()
        return self.setUpChangeSource()

    def tearDown(self):
        pass


#
if True:
    #: E101:0 E101+1:0
	foo(1,
	    2)


def test_keys(self):
    """areas.json - All regions are accounted for."""
    expected = set([
        #: E101:0
	u'Norrbotten',
        #: E101:0
	u'V\xe4sterbotten',
    ])


if True:
    hello("""
	tab at start of this line
""")