Author: Matti Picus <[email protected]>
Branch: py3.6
Changeset: r97785:58de798e3809
Date: 2019-10-16 09:06 +0300
http://bitbucket.org/pypy/pypy/changeset/58de798e3809/

Log:    remove python2 test

diff --git a/pypy/objspace/std/test/test_longobject.py 
b/pypy/objspace/std/test/test_longobject.py
--- a/pypy/objspace/std/test/test_longobject.py
+++ b/pypy/objspace/std/test/test_longobject.py
@@ -512,10 +512,3 @@
         b -= 1
         assert a is b
 
-    def test_error_message_wrong_self(self):
-        unboundmeth = long.__str__
-        e = raises(TypeError, unboundmeth, 42)
-        assert "int" in str(e.value)
-        if hasattr(unboundmeth, 'im_func'):
-            e = raises(TypeError, unboundmeth.im_func, 42)
-            assert "'int'" in str(e.value)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to