Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r86411:cd1610618bd6
Date: 2016-08-22 11:25 +0200
http://bitbucket.org/pypy/pypy/changeset/cd1610618bd6/
Log: Fix for posix/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
@@ -430,6 +430,8 @@
def get(self, name):
name + "xx" # check that it's a string
return w_some_obj()
+ def setmodule(self, w_mod):
+ is_root(w_mod)
FakeObjSpace.sys = FakeModule()
FakeObjSpace.sys.filesystemencoding = 'foobar'
FakeObjSpace.sys.defaultencoding = 'ascii'
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit