From cb491e7f906cd0dca3718cc05bc00b738b638f7d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 31 Dec 2016 09:48:34 -0500 Subject: The PyPy-specific test for atexit/gettrace are also PyPy-version-specific... --- coverage/env.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'coverage/env.py') diff --git a/coverage/env.py b/coverage/env.py index 4cd02c04..6db3b857 100644 --- a/coverage/env.py +++ b/coverage/env.py @@ -12,6 +12,8 @@ LINUX = sys.platform == "linux2" # Python implementations. PYPY = '__pypy__' in sys.builtin_module_names +if PYPY: + PYPYVERSION = sys.pypy_version_info # Python versions. PYVERSION = sys.version_info -- cgit v1.2.1