[pypy-svn] r59544 - pypy/trunk/lib-python/modified-2.5.2/test

arigo at codespeak.net arigo at codespeak.net
Thu Oct 30 12:39:53 CET 2008


Author: arigo
Date: Thu Oct 30 12:39:53 2008
New Revision: 59544

Modified:
   pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py
Log:
This is clearly a bug in the test.


Modified: pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py	Thu Oct 30 12:39:53 2008
@@ -2314,7 +2314,7 @@
         __slots__ = ['prec']
         def __init__(self, value=0.0, prec=12):
             self.prec = int(prec)
-            float.__init__(value)
+            float.__init__(self, value)
         def __repr__(self):
             return "%.*g" % (self.prec, self)
     vereq(repr(precfloat(1.1)), "1.1")



More information about the Pypy-commit mailing list