summaryrefslogtreecommitdiffstats
path: root/Lib/test/inspect_fodder2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/inspect_fodder2.py')
-rw-r--r--Lib/test/inspect_fodder2.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/Lib/test/inspect_fodder2.py b/Lib/test/inspect_fodder2.py
index 0346461..8639cf2 100644
--- a/Lib/test/inspect_fodder2.py
+++ b/Lib/test/inspect_fodder2.py
@@ -290,3 +290,23 @@ post_line_parenthesized_lambda1 = (lambda: ()
nested_lambda = (
lambda right: [].map(
lambda length: ()))
+
+# line 294
+if True:
+ class cls296:
+ def f():
+ pass
+else:
+ class cls296:
+ def g():
+ pass
+
+# line 304
+if False:
+ class cls310:
+ def f():
+ pass
+else:
+ class cls310:
+ def g():
+ pass