pep8: Move to third_party/.
[samba.git] / third_party / pep8 / testsuite / E10.py
diff --git a/third_party/pep8/testsuite/E10.py b/third_party/pep8/testsuite/E10.py
new file mode 100644 (file)
index 0000000..cd142e3
--- /dev/null
@@ -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',
+    ])
+#: