New issue 2254: fix test_app_main.py on pypy
https://bitbucket.org/pypy/pypy/issues/2254/fix-test_app_mainpy-on-pypy

Carl Friedrich Bolz:

```
def we_are_translated():
    # app-level, very different from rpython.rlib.objectmodel.we_are_translated
    return hasattr(sys, 'pypy_translation_info')
```

in app_main.py is wrong on pypy. it means that 
``test_all_combinations_I_can_think_of`` will lead to 
``__pypy__.set_debug(False)`` being called, which means all subsequent tests 
pass always.


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to