diff options
Diffstat (limited to 'test/farm/annotate/src')
| -rw-r--r-- | test/farm/annotate/src/a/__init__.py | 0 | ||||
| -rw-r--r-- | test/farm/annotate/src/a/a.py | 5 | ||||
| -rw-r--r-- | test/farm/annotate/src/b/__init__.py | 0 | ||||
| -rw-r--r-- | test/farm/annotate/src/b/b.py | 3 | ||||
| -rw-r--r-- | test/farm/annotate/src/multi.py | 5 | ||||
| -rw-r--r-- | test/farm/annotate/src/white.py | 33 |
6 files changed, 0 insertions, 46 deletions
diff --git a/test/farm/annotate/src/a/__init__.py b/test/farm/annotate/src/a/__init__.py deleted file mode 100644 index e69de29b..00000000 --- a/test/farm/annotate/src/a/__init__.py +++ /dev/null diff --git a/test/farm/annotate/src/a/a.py b/test/farm/annotate/src/a/a.py deleted file mode 100644 index c2583d1e..00000000 --- a/test/farm/annotate/src/a/a.py +++ /dev/null @@ -1,5 +0,0 @@ -def a(x): - if x == 1: - print("x is 1") - else: - print("x is not 1") diff --git a/test/farm/annotate/src/b/__init__.py b/test/farm/annotate/src/b/__init__.py deleted file mode 100644 index e69de29b..00000000 --- a/test/farm/annotate/src/b/__init__.py +++ /dev/null diff --git a/test/farm/annotate/src/b/b.py b/test/farm/annotate/src/b/b.py deleted file mode 100644 index 625a5490..00000000 --- a/test/farm/annotate/src/b/b.py +++ /dev/null @@ -1,3 +0,0 @@ -def b(x): - msg = "x is %s" % x - print(msg) diff --git a/test/farm/annotate/src/multi.py b/test/farm/annotate/src/multi.py deleted file mode 100644 index 19a6200c..00000000 --- a/test/farm/annotate/src/multi.py +++ /dev/null @@ -1,5 +0,0 @@ -import a.a -import b.b - -a.a.a(1) -b.b.b(2) diff --git a/test/farm/annotate/src/white.py b/test/farm/annotate/src/white.py deleted file mode 100644 index ecbbd25a..00000000 --- a/test/farm/annotate/src/white.py +++ /dev/null @@ -1,33 +0,0 @@ -# A test case sent to me by Steve White - -def f(self): - if self==1: - pass - elif self.m('fred'): - pass - elif (g==1) and (b==2): - pass - elif self.m('fred')==True: - pass - elif ((g==1) and (b==2))==True: - pass - else: - pass - -def g(x): - if x == 1: - a = 1 - else: - a = 2 - -g(1) - -def h(x): - if 0: #pragma: no cover - pass - if x == 1: - a = 1 - else: - a = 2 - -h(2) |
