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 bdc2c785..9f9b2553 100644 --- a/coverage/env.py +++ b/coverage/env.py @@ -137,6 +137,10 @@ class PYBEHAVIOR: # only a 0-number line, which is ignored, giving a truly empty module. empty_is_empty = (PYVERSION >= (3, 11, 0, "beta", 4)) + # Are comprehensions inlined (new) or compiled as called functions (old)? + # Changed in https://github.com/python/cpython/pull/101441 + comprehensions_are_functions = (PYVERSION <= (3, 12, 0, "alpha", 7, 0)) + # Coverage.py specifics. # Are we using the C-implemented trace function? |