summaryrefslogtreecommitdiff
path: root/coverage/env.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-03-14 13:40:14 -0400
committerNed Batchelder <ned@nedbatchelder.com>2017-03-14 13:40:14 -0400
commit50a3baf54146337172d5efc57933adceb2b2fb78 (patch)
tree8ca9cee690bcbffd0c29f9b6978490dbda07589b /coverage/env.py
parentde73882e515fcce4bc4f2c62f0a6de42178866a5 (diff)
downloadpython-coveragepy-50a3baf54146337172d5efc57933adceb2b2fb78.tar.gz
Minimal IronPython support.
IronPython is weird: 2.7.7 has "str is unicode", and unicode.encode produces unicode! f_lasti is missing, and frame globals are missing.
Diffstat (limited to 'coverage/env.py')
-rw-r--r--coverage/env.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/coverage/env.py b/coverage/env.py
index 528c774..4699a1e 100644
--- a/coverage/env.py
+++ b/coverage/env.py
@@ -17,6 +17,7 @@ if PYPY:
PYPYVERSION = sys.pypy_version_info
JYTHON = (platform.python_implementation() == 'Jython')
+IRONPYTHON = (platform.python_implementation() == 'IronPython')
# Python versions.
PYVERSION = sys.version_info