[pypy-svn] r34394 - pypy/dist/pypy/interpreter/test

arigo at codespeak.net arigo at codespeak.net
Wed Nov 8 20:04:17 CET 2006


Author: arigo
Date: Wed Nov  8 20:04:16 2006
New Revision: 34394

Modified:
   pypy/dist/pypy/interpreter/test/test_pickle.py
Log:
Skip this file with -A.


Modified: pypy/dist/pypy/interpreter/test/test_pickle.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_pickle.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_pickle.py	Wed Nov  8 20:04:16 2006
@@ -1,3 +1,6 @@
+import py
+from pypy import conftest
+
 def _attach_helpers(space):
     from pypy.interpreter import pytraceback
     def hide_top_frame(space, w_frame):
@@ -46,6 +49,8 @@
 class AppTestInterpObjectPickling:
 
     def setup_class(cls):
+        if conftest.option.runappdirect:
+            py.test.skip("not for py.test -A")
         _attach_helpers(cls.space)
 
     def teardown_class(cls):



More information about the Pypy-commit mailing list