Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r91317:a0e3281f3874
Date: 2017-05-16 20:32 +0100
http://bitbucket.org/pypy/pypy/changeset/a0e3281f3874/
Log: fix test
diff --git a/pypy/interpreter/test/test_error.py
b/pypy/interpreter/test/test_error.py
--- a/pypy/interpreter/test/test_error.py
+++ b/pypy/interpreter/test/test_error.py
@@ -118,10 +118,11 @@
class FakeSpace:
w_OSError = [OSError]
w_EnvironmentError = [EnvironmentError]
+ w_None = None
def wrap(self, obj):
return [obj]
newint = newtext = newunicode = newfilename = wrap
- def call_function(self, exc, w_errno, w_msg, w_filename=None):
+ def call_function(self, exc, w_errno, w_msg, w_filename=None, *args):
return (exc, w_errno, w_msg, w_filename)
space = FakeSpace()
#
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit