[pypy-commit] pypy default: fix for module.cpyext.test.test_ztranslation
arigo
pypy.commits at gmail.com
Mon Jun 13 05:18:51 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r85120:30a77e18d1db
Date: 2016-06-13 11:19 +0200
http://bitbucket.org/pypy/pypy/changeset/30a77e18d1db/
Log: fix for module.cpyext.test.test_ztranslation
diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py
--- a/pypy/objspace/fake/objspace.py
+++ b/pypy/objspace/fake/objspace.py
@@ -417,11 +417,11 @@
class FakeModule(W_Root):
def __init__(self):
self.w_dict = w_some_obj()
-
def get(self, name):
name + "xx" # check that it's a string
return w_some_obj()
FakeObjSpace.sys = FakeModule()
FakeObjSpace.sys.filesystemencoding = 'foobar'
FakeObjSpace.sys.defaultencoding = 'ascii'
+FakeObjSpace.sys.dlopenflags = 123
FakeObjSpace.builtin = FakeModule()
More information about the pypy-commit
mailing list