[pypy-commit] pypy fix-vmprof-stacklet-switch-2: skip this when run with -A

antocuni pypy.commits at gmail.com
Wed Nov 29 10:20:22 EST 2017


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: fix-vmprof-stacklet-switch-2
Changeset: r93211:37b5a39510e7
Date: 2017-11-29 11:25 +0100
http://bitbucket.org/pypy/pypy/changeset/37b5a39510e7/

Log:	skip this when run with -A

diff --git a/pypy/module/_continuation/test/test_stacklet.py b/pypy/module/_continuation/test/test_stacklet.py
--- a/pypy/module/_continuation/test/test_stacklet.py
+++ b/pypy/module/_continuation/test/test_stacklet.py
@@ -798,6 +798,8 @@
         raises(error, continulet.switch, c1, to=c2)
 
     def test_sampling_inside_callback(self):
+        if self.runappdirect:
+            skip("we can't run this until we have _vmprof.is_sampling_enabled")
         from _continuation import continulet
         #
         def my_callback(c1):


More information about the pypy-commit mailing list