summaryrefslogtreecommitdiff
path: root/coverage/env.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-05-01 14:19:24 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-05-01 16:24:37 -0400
commit3d43c74cd2dd8c66c29572bc04a4b0de3e206364 (patch)
tree282d10151f6ba009fdd8d8a1d8713a0fc5441026 /coverage/env.py
parent7db98362f368ac569edf66228d52cbc64a6d69aa (diff)
downloadpython-coveragepy-git-3d43c74cd2dd8c66c29572bc04a4b0de3e206364.tar.gz
refactor: remove some unneeded behavior conditionals
Diffstat (limited to 'coverage/env.py')
-rw-r--r--coverage/env.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/coverage/env.py b/coverage/env.py
index f0d98a27..ab59e275 100644
--- a/coverage/env.py
+++ b/coverage/env.py
@@ -53,21 +53,6 @@ class PYBEHAVIOR(object):
if pep626:
optimize_if_not_debug2 = False
- # Do we have yield-from?
- yield_from = (PYVERSION >= (3, 3))
-
- # Do we have PEP 420 namespace packages?
- namespaces_pep420 = (PYVERSION >= (3, 3))
-
- # Do .pyc files have the source file size recorded in them?
- size_in_pyc = (PYVERSION >= (3, 3))
-
- # Do we have async and await syntax?
- async_syntax = (PYVERSION >= (3, 5))
-
- # PEP 448 defined additional unpacking generalizations
- unpackings_pep448 = (PYVERSION >= (3, 5))
-
# Can co_lnotab have negative deltas?
negative_lnotab = (PYVERSION >= (3, 6)) and not (PYPY and PYPYVERSION < (7, 2))