Commits

Alex Gaynor committed 3d945db

Remove old test, that should have been replaced with a previous commit. Replace with a new one.

Comments (0)

Files changed (1)

pypy/module/__builtin__/test/test_descriptor.py

         assert super(D,D).goo() == (D,)
         assert super(D,d).goo() == (D,)
 
-        raises(TypeError, "classmethod(1).__get__(1)")
+        meth = classmethod(1).__get__(1)
+        raises(TypeError, meth)
+
 
     def test_property_docstring(self):
         assert property.__doc__.startswith('property')