[pypy-commit] pypy py3k: no longer valid

pjenvey pypy.commits at gmail.com
Wed May 18 22:53:50 EDT 2016


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r84518:68f8b64bddfc
Date: 2016-05-18 19:53 -0700
http://bitbucket.org/pypy/pypy/changeset/68f8b64bddfc/

Log:	no longer valid

diff --git a/pypy/objspace/std/test/test_typeobject.py b/pypy/objspace/std/test/test_typeobject.py
--- a/pypy/objspace/std/test/test_typeobject.py
+++ b/pypy/objspace/std/test/test_typeobject.py
@@ -1328,15 +1328,6 @@
 
         assert b == 1
 
-    def test_slots_with_method_in_class(self):
-        # this works in cpython...
-        class A(object):
-            __slots__ = ["f"]
-            def f(self, x):
-                return x + 1
-        a = A()
-        assert a.f(1) == 2
-
     def test_eq_returns_notimplemented(self):
         assert type.__eq__(int, 42) is NotImplemented
         assert type.__ne__(dict, 42) is NotImplemented


More information about the pypy-commit mailing list