summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-01-02 19:39:58 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2020-01-02 19:40:06 (GMT)
commit5c5bf0347c2f5be62240fc9e1cb8e9ef0ec2b84c (patch)
treed01c9a9f5c6aecd9efa8c903c1149464c9edd58c /testing
parente8d186bb28a12d8de0742b0ba27c642b49faaf74 (diff)
downloadSCons-5c5bf0347c2f5be62240fc9e1cb8e9ef0ec2b84c.zip
SCons-5c5bf0347c2f5be62240fc9e1cb8e9ef0ec2b84c.tar.gz
SCons-5c5bf0347c2f5be62240fc9e1cb8e9ef0ec2b84c.tar.bz2
[ci skip] Add logic to know when running in pypy
Diffstat (limited to 'testing')
-rw-r--r--testing/framework/TestCmd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/framework/TestCmd.py b/testing/framework/TestCmd.py
index b98445c..6beed24 100644
--- a/testing/framework/TestCmd.py
+++ b/testing/framework/TestCmd.py
@@ -310,6 +310,7 @@ import types
IS_PY3 = sys.version_info[0] == 3
IS_WINDOWS = sys.platform == 'win32'
IS_64_BIT = sys.maxsize > 2**32
+IS_PYPY = hasattr(sys, 'pypy_translation_info')
class null(object):
pass