summaryrefslogtreecommitdiff
path: root/coverage/env.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/env.py')
-rw-r--r--coverage/env.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/coverage/env.py b/coverage/env.py
index 81f61794..89abbb2e 100644
--- a/coverage/env.py
+++ b/coverage/env.py
@@ -102,6 +102,9 @@ class PYBEHAVIOR:
# When leaving a with-block, do we visit the with-line again for the exit?
exit_through_with = (PYVERSION >= (3, 10, 0, 'beta'))
+ # Match-case construct.
+ match_case = (PYVERSION >= (3, 10))
+
# Coverage.py specifics.
# Are we using the C-implemented trace function?