Author: Antonio Cuni <[email protected]>
Branch: fix-vmprof-stacklet-switch-2
Changeset: r93463:0a82f7762c72
Date: 2017-12-18 10:56 +0100
http://bitbucket.org/pypy/pypy/changeset/0a82f7762c72/
Log: fix
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
@@ -37,6 +37,7 @@
return res
return stack
""")
+ cls.w_appdirect = cls.space.wrap(cls.runappdirect)
if cls.runappdirect:
# make sure that "self.stack" does not pass the self
cls.w_stack = staticmethod(cls.w_stack.im_func)
@@ -798,7 +799,7 @@
raises(error, continulet.switch, c1, to=c2)
def test_sampling_inside_callback(self):
- if self.runappdirect:
+ if self.appdirect:
# see also
# extra_tests.test_vmprof_greenlet.test_sampling_inside_callback
# for a "translated" version of this test
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit