With python 3 modules are importable even without init.py · Issue #1383 · nedbat/coveragepy (original) (raw)
With https://peps.python.org/pep-0420/ - released with python 3.3 it is no longer required to create an empty __init__.py
file.
However Coverage still skips folders without an __init__.py
Line 409 in0aa1070
if i > 0 and '__init__.py' not in filenames: |
---|
This causes unexpected results for the total coverage as valid python code is not included in the total coverage!