E10.py 758 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. for a in 'abc':
  2. for b in 'xyz':
  3. hello(a) # indented with 8 spaces
  4. #: E903:0
  5. hello(b) # indented with 1 tab
  6. if True:
  7. #: E101:0
  8. pass
  9. #: E122+1
  10. change_2_log = \
  11. """Change 2 by slamb@testclient on 2006/04/13 21:46:23
  12. creation
  13. """
  14. p4change = {
  15. 2: change_2_log,
  16. }
  17. class TestP4Poller(unittest.TestCase):
  18. def setUp(self):
  19. self.setUpGetProcessOutput()
  20. return self.setUpChangeSource()
  21. def tearDown(self):
  22. pass
  23. #
  24. if True:
  25. #: E101:0 E101+1:0
  26. foo(1,
  27. 2)
  28. def test_keys(self):
  29. """areas.json - All regions are accounted for."""
  30. expected = set([
  31. #: E101:0
  32. u'Norrbotten',
  33. #: E101:0
  34. u'V\xe4sterbotten',
  35. ])
  36. if True:
  37. hello("""
  38. tab at start of this line
  39. """)