diff options
Diffstat (limited to 'pypy/interpreter/app_main.py')
-rwxr-xr-x | pypy/interpreter/app_main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py index ec5dcab875..27138ce7c2 100755 --- a/pypy/interpreter/app_main.py +++ b/pypy/interpreter/app_main.py @@ -299,7 +299,9 @@ def initstdio(unbuffered=False): def we_are_translated(): # app-level, very different from rpython.rlib.objectmodel.we_are_translated - return hasattr(sys, 'pypy_translation_info') + # used in test_app_main + import os + os.environ.get('PYPY_IS_UNTRANSLATED', '0') == '1' IS_WINDOWS = 'nt' in sys.builtin_module_names |