Author: Antonio Cuni <[email protected]>
Branch: gc-hooks
Changeset: r94254:4f5f4f37faf3
Date: 2018-04-05 18:59 +0200
http://bitbucket.org/pypy/pypy/changeset/4f5f4f37faf3/

Log:    we can't run these tests with -A, skip them

diff --git a/pypy/module/gc/test/test_hook.py b/pypy/module/gc/test/test_hook.py
--- a/pypy/module/gc/test/test_hook.py
+++ b/pypy/module/gc/test/test_hook.py
@@ -1,3 +1,4 @@
+import pytest
 from rpython.rlib.rarithmetic import r_uint
 from pypy.module.gc.hook import LowLevelGcHooks
 from pypy.interpreter.baseobjspace import ObjSpace
@@ -6,6 +7,8 @@
 class AppTestGcHooks(object):
 
     def setup_class(cls):
+        if cls.runappdirect:
+            pytest.skip("these tests cannot work with -A")
         space = cls.space
         gchooks = space.fromcache(LowLevelGcHooks)
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to