summaryrefslogtreecommitdiff
path: root/test/farm/html/src/partial.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/farm/html/src/partial.py')
-rw-r--r--test/farm/html/src/partial.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/farm/html/src/partial.py b/test/farm/html/src/partial.py
new file mode 100644
index 0000000..9126844
--- /dev/null
+++ b/test/farm/html/src/partial.py
@@ -0,0 +1,19 @@
+# partial branches
+
+a = 3
+
+while True:
+ break
+
+while 1:
+ break
+
+while a: # pragma: no branch
+ break
+
+if 0:
+ never_happen()
+
+if 1:
+ a = 13
+