summaryrefslogtreecommitdiff
path: root/testsuite/E30not.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/E30not.py')
-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()