diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-29 17:52:29 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-29 17:52:29 +0100 |
commit | acffc9eb8bf034cf8f1e80855cbd6924d796d27b (patch) | |
tree | bf9fb2bd3c013ebb19cdd38a33358f8d638fbf9b /subdir | |
parent | 67a226e6cd32764ddb549232cb94422081911ca4 (diff) | |
download | coverage-test-runner-acffc9eb8bf034cf8f1e80855cbd6924d796d27b.tar.gz |
Change CoverageTestRunner.py to run stuff only in named dirs.
Diffstat (limited to 'subdir')
-rw-r--r-- | subdir/foo.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/subdir/foo.py b/subdir/foo.py index 6711dd4..711ab4d 100644 --- a/subdir/foo.py +++ b/subdir/foo.py @@ -3,8 +3,11 @@ class Foo: def foo(self, a): if a: return True + elif False: # pragma: no cover + return None # pragma: no cover else: import time time.sleep(0) return False - pass # pragma: no cover + +foo = Foo() |