Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r89361:8b953c5f7f48
Date: 2017-01-04 15:25 +0100
http://bitbucket.org/pypy/pypy/changeset/8b953c5f7f48/

Log:    skip warn() in the FakeObjSpace

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
@@ -358,6 +358,9 @@
     def lookup_in_type(self, w_type, name):
         return w_some_obj()
 
+    def warn(self, w_msg, w_warningcls, stacklevel=2):
+        pass
+
     # ----------
 
     def translates(self, func=None, argtypes=None, seeobj_w=[], **kwds):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to