Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r62836:0397468104b6
Date: 2013-03-27 17:50 +0100
http://bitbucket.org/pypy/pypy/changeset/0397468104b6/

Log:    Run -A tests even if they require translation options (specified
        without the "translation." prefix, e.g. in
        pypy/module/_continuation/support.py: "continuation=True")

diff --git a/pypy/tool/pytest/objspace.py b/pypy/tool/pytest/objspace.py
--- a/pypy/tool/pytest/objspace.py
+++ b/pypy/tool/pytest/objspace.py
@@ -63,6 +63,8 @@
                 continue
             if info is None:
                 py.test.skip("cannot runappdirect this test on top of CPython")
+            if ('translation.' + key) in info:
+                key = 'translation.' + key
             has = info.get(key, None)
             if has != value:
                 #print sys.pypy_translation_info
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to