[pypy-commit] pypy default: Not understanding why we have two slightly different copies of these
arigo
noreply at buildbot.pypy.org
Sun Sep 4 12:56:36 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r47070:a572ffba61fe
Date: 2011-09-04 12:53 +0200
http://bitbucket.org/pypy/pypy/changeset/a572ffba61fe/
Log: Not understanding why we have two slightly different copies of these
tests, fixing them too. At some point please kill one or both
copies...
diff --git a/lib_pypy/distributed/test/test_distributed.py b/lib_pypy/distributed/test/test_distributed.py
--- a/lib_pypy/distributed/test/test_distributed.py
+++ b/lib_pypy/distributed/test/test_distributed.py
@@ -9,7 +9,7 @@
class AppTestDistributed(object):
def setup_class(cls):
cls.space = gettestobjspace(**{"objspace.std.withtproxy": True,
- "usemodules":("_stackless",)})
+ "usemodules":("_continuation",)})
def test_init(self):
import distributed
@@ -91,10 +91,8 @@
class AppTestDistributedTasklets(object):
spaceconfig = {"objspace.std.withtproxy": True,
- "objspace.usemodules._stackless": True}
+ "objspace.usemodules._continuation": True}
def setup_class(cls):
- #cls.space = gettestobjspace(**{"objspace.std.withtproxy": True,
- # "usemodules":("_stackless",)})
cls.w_test_env = cls.space.appexec([], """():
from distributed import test_env
return test_env
diff --git a/lib_pypy/distributed/test/test_greensock.py b/lib_pypy/distributed/test/test_greensock.py
--- a/lib_pypy/distributed/test/test_greensock.py
+++ b/lib_pypy/distributed/test/test_greensock.py
@@ -10,7 +10,7 @@
if not option.runappdirect:
py.test.skip("Cannot run this on top of py.py because of PopenGateway")
cls.space = gettestobjspace(**{"objspace.std.withtproxy": True,
- "usemodules":("_stackless",)})
+ "usemodules":("_continuation",)})
cls.w_remote_side_code = cls.space.appexec([], """():
import sys
sys.path.insert(0, '%s')
diff --git a/lib_pypy/distributed/test/test_socklayer.py b/lib_pypy/distributed/test/test_socklayer.py
--- a/lib_pypy/distributed/test/test_socklayer.py
+++ b/lib_pypy/distributed/test/test_socklayer.py
@@ -9,7 +9,8 @@
class AppTestSocklayer:
def setup_class(cls):
cls.space = gettestobjspace(**{"objspace.std.withtproxy": True,
- "usemodules":("_stackless","_socket", "select")})
+ "usemodules":("_continuation",
+ "_socket", "select")})
def test_socklayer(self):
class X(object):
More information about the pypy-commit
mailing list