diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-03-05 21:21:43 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-03-05 21:21:43 -0500 |
commit | 0cc8fd18714cb214327a0a58b704401a9efdf8dc (patch) | |
tree | 0a6ac59eaf1b7acaf26053a5f3c69304b9ddbda3 /test/black.py | |
download | python-coveragepy-git-0cc8fd18714cb214327a0a58b704401a9efdf8dc.tar.gz |
Initial coverage.py 3.0 beta 1
Diffstat (limited to 'test/black.py')
-rw-r--r-- | test/black.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/black.py b/test/black.py new file mode 100644 index 00000000..cec90a9d --- /dev/null +++ b/test/black.py @@ -0,0 +1,15 @@ +# 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 |