summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lee <IanLee1521@gmail.com>2016-06-25 14:31:36 -0700
committerIan Lee <IanLee1521@gmail.com>2016-06-25 14:31:36 -0700
commit10f4e51c18a25ba147fc13721c07295dd1a35675 (patch)
tree8c5ea23a16f201cd376082b54c046749d8f4a1ee
parentf55b1c5c73bce47882e6bdec8cd9cc7b17d1a199 (diff)
downloadpep8-10f4e51c18a25ba147fc13721c07295dd1a35675.tar.gz
Added extra Okay example to test against
-rw-r--r--testsuite/E30not.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/E30not.py b/testsuite/E30not.py
index 0fd8fb0..ea75057 100644
--- a/testsuite/E30not.py
+++ b/testsuite/E30not.py
@@ -132,3 +132,22 @@ def a():
def b():
pass
+#: Okay
+def foo():
+ pass
+
+
+def bar():
+ pass
+
+
+class Foo(object):
+ pass
+
+
+class Bar(object):
+ pass
+
+
+if __name__ == '__main__':
+ foo()