[pypy-svn] pypy commit 3d945db34320: Remove old test, that should have been replaced with a previous commit. Replace with a new one.

Bitbucket commits-noreply at bitbucket.org
Tue Dec 14 23:37:12 CET 2010


# HG changeset patch -- Bitbucket.org
# Project pypy
# URL http://bitbucket.org/pypy/pypy/overview
# User Alex Gaynor <alex.gaynor at gmail.com>
# Date 1292366107 18000
# Node ID 3d945db3432096664fe1cf75d71b7063bd630c3d
# Parent  ae12768dbfbdcec68aba0dca4c1b21e301ab413f
Remove old test, that should have been replaced with a previous commit.  Replace with a new one.

--- a/pypy/module/__builtin__/test/test_descriptor.py
+++ b/pypy/module/__builtin__/test/test_descriptor.py
@@ -226,7 +226,9 @@ class AppTestBuiltinApp:
         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')



More information about the Pypy-commit mailing list