X-Git-Url: http://git.samba.org/?p=samba.git;a=blobdiff_plain;f=third_party%2Fpep8%2Ftestsuite%2FE10.py;fp=third_party%2Fpep8%2Ftestsuite%2FE10.py;h=cd142e3933380f99be805ba311c58895d748ff9a;hp=0000000000000000000000000000000000000000;hb=a001b0385412786c50553cfb38c146dfb3646142;hpb=0621f07eb482daf7495f6314b0af32853573cb82 diff --git a/third_party/pep8/testsuite/E10.py b/third_party/pep8/testsuite/E10.py new file mode 100644 index 00000000000..cd142e39333 --- /dev/null +++ b/third_party/pep8/testsuite/E10.py @@ -0,0 +1,41 @@ +#: E101 W191 +for a in 'abc': + for b in 'xyz': + print a # indented with 8 spaces + print b # indented with 1 tab +#: E101 E122 W191 W191 +if True: + pass + +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 + +# +#: E101 W191 W191 +if True: + foo(1, + 2) +#: E101 E101 W191 W191 +def test_keys(self): + """areas.json - All regions are accounted for.""" + expected = set([ + u'Norrbotten', + u'V\xe4sterbotten', + ]) +#: