summaryrefslogtreecommitdiff
path: root/subdir/foo.py
blob: 51a5dde202a2155ae8a45bc6ec054661f0f0c309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import logging

class Foo:

    def foo(self, a):
        logging.error('this should not be displayed when testrun runs')
        if a:
            return True
        elif False: # pragma: no cover
            return None # pragma: no cover
        else:
            import time
            time.sleep(0)
            return False

foo = Foo()