diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2017-03-14 13:40:14 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2017-03-14 13:40:14 -0400 |
commit | 50a3baf54146337172d5efc57933adceb2b2fb78 (patch) | |
tree | 8ca9cee690bcbffd0c29f9b6978490dbda07589b /coverage/env.py | |
parent | de73882e515fcce4bc4f2c62f0a6de42178866a5 (diff) | |
download | python-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.py | 1 |
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 |