[pypy-svn] r79430 - pypy/branch/jit-free/pypy/module/__pypy__/test

arigo at codespeak.net arigo at codespeak.net
Tue Nov 23 19:10:30 CET 2010


Author: arigo
Date: Tue Nov 23 19:10:29 2010
New Revision: 79430

Modified:
   pypy/branch/jit-free/pypy/module/__pypy__/test/test_debug.py
Log:
Fix test.

Modified: pypy/branch/jit-free/pypy/module/__pypy__/test/test_debug.py
==============================================================================
--- pypy/branch/jit-free/pypy/module/__pypy__/test/test_debug.py	(original)
+++ pypy/branch/jit-free/pypy/module/__pypy__/test/test_debug.py	Tue Nov 23 19:10:29 2010
@@ -1,9 +1,11 @@
 import py
-from pypy.conftest import gettestobjspace
+from pypy.conftest import gettestobjspace, option
 from pypy.rlib import debug
 
 class AppTestDebug:
     def setup_class(cls):
+        if option.runappdirect:
+            py.test.skip("not meant to be run with -A")
         cls.space = gettestobjspace(usemodules=['__pypy__'])
         space = cls.space
         cls.w_check_log = cls.space.wrap(cls.check_log)



More information about the Pypy-commit mailing list