[pypy-svn] r29363 - pypy/dist/pypy/lib/test2
auc at codespeak.net
auc at codespeak.net
Mon Jun 26 17:35:28 CEST 2006
Author: auc
Date: Mon Jun 26 17:35:26 2006
New Revision: 29363
Modified:
pypy/dist/pypy/lib/test2/test_stackless.py
Log:
next time, hang auc by the feet
Modified: pypy/dist/pypy/lib/test2/test_stackless.py
==============================================================================
--- pypy/dist/pypy/lib/test2/test_stackless.py (original)
+++ pypy/dist/pypy/lib/test2/test_stackless.py Mon Jun 26 17:35:26 2006
@@ -44,18 +44,16 @@
assert Y.receive() == 42
- def notest_wait_two(self):
+ def test_wait_two(self):
"""
A tasklets/channels adaptation of the test_wait_two from the
logic object space
- XXX: fails complaining that some channel has no Receive
- attribute
"""
from stackless import run, tasklet, channel
run()
def sleep(X, Barrier):
- Barrier.send((X, X.Receive()))
+ Barrier.send((X, X.receive()))
def wait_two(X, Y, Ret_chan):
Barrier = channel()
More information about the Pypy-commit
mailing list