diff options
Diffstat (limited to 'coverage/env.py')
-rw-r--r-- | coverage/env.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coverage/env.py b/coverage/env.py index 7b845f66..f2881e32 100644 --- a/coverage/env.py +++ b/coverage/env.py @@ -92,6 +92,10 @@ class PYBEHAVIOR(object): # PyPy has always omitted statements after return. omit_after_return = omit_after_jump or PYPY + # Modules used to have firstlineno equal to the line number of the first + # real line of code. Now they always start at 1. + module_firstline_1 = pep626 + # Coverage.py specifics. # Are we using the C-implemented trace function? |