diff options
Diffstat (limited to 'coverage/env.py')
-rw-r--r-- | coverage/env.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/coverage/env.py b/coverage/env.py index aa8bb8f6..fd98fa2b 100644 --- a/coverage/env.py +++ b/coverage/env.py @@ -34,6 +34,12 @@ class PYBEHAVIOR(object): # work? finally_jumps_back = (PYVERSION >= (3, 8)) + # When a function is decorated, does the trace function get called for the + # @-line and also the def-line (new behavior in 3.8)? Or just the @-line + # (old behavior)? + trace_decorated_def = (PYVERSION >= (3, 8)) + + # Coverage.py specifics. # Are we using the C-implemented trace function? |