Commits

Ned Batchelder committed 1b9b590

Extend the simple test case we have for annotation.

  • Participants
  • Parent commits 3d2dc9c

Comments (0)

Files changed (2)

         pass
     else:
         pass
+
+def g(x):
+    if x == 1:
+        a = 1
+    else:
+        a = 2
+
+g(1)
+
+def h(x):
+    if x == 1:
+        a = 1
+    else:
+        a = 2
+
+h(2)

test/white.py,cover

 !         pass
 !     else:
 !         pass
+  
+> def g(x):
+>     if x == 1:
+>         a = 1
+!     else:
+!         a = 2
+  
+> g(1)
+  
+> def h(x):
+>     if x == 1:
+!         a = 1
+>     else:
+>         a = 2
+  
+> h(2)