Coverage for tests/import_test/two/three/fail.py: 33%

3 statements  

« prev     ^ index     » next       coverage.py v7.4.3, created at 2024-03-01 11:56 +0000

1# This will fail to import because of ModuleNotFoundError 

2import notthere 

3 

4 

5def myfunc(): 

6 """Return a module that can not be imported.""" 

7 return notthere