summaryrefslogtreecommitdiff
path: root/coverage/env.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-12-31 12:57:11 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-12-31 13:07:02 -0500
commit3d8526412e90f645ecc4b3ae9b567cb2c73fe3aa (patch)
tree32292a12338347b5d8a64b49dcc2d33f4801dd30 /coverage/env.py
parent39f8f3ed43cf82cdf30b57d7f9624addcbd9e372 (diff)
downloadpython-coveragepy-git-3d8526412e90f645ecc4b3ae9b567cb2c73fe3aa.tar.gz
refactor: remove code that was only needed for Python 3.6
Diffstat (limited to 'coverage/env.py')
-rw-r--r--coverage/env.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/coverage/env.py b/coverage/env.py
index f20b083e..a00cfa07 100644
--- a/coverage/env.py
+++ b/coverage/env.py
@@ -57,18 +57,6 @@ class PYBEHAVIOR:
# Can co_lnotab have negative deltas?
negative_lnotab = not (PYPY and PYPYVERSION < (7, 2))
- # Do .pyc files conform to PEP 552? Hash-based pyc's.
- hashed_pyc_pep552 = (PYVERSION >= (3, 7, 0, 'alpha', 4))
-
- # Python 3.7.0b3 changed the behavior of the sys.path[0] entry for -m. It
- # used to be an empty string (meaning the current directory). It changed
- # to be the actual path to the current directory, so that os.chdir wouldn't
- # affect the outcome.
- actual_syspath0_dash_m = (
- (CPYTHON and (PYVERSION >= (3, 7, 0, 'beta', 3))) or
- (PYPY and (PYPYVERSION >= (7, 3, 4)))
- )
-
# 3.7 changed how functions with only docstrings are numbered.
docstring_only_function = (not PYPY) and ((3, 7, 0, 'beta', 5) <= PYVERSION <= (3, 10))