[pypy-commit] pypy default: python2.6 compat

bdkearns noreply at buildbot.pypy.org
Sun Feb 10 10:21:42 CET 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r61031:a174c61bb9fc
Date: 2013-02-10 04:21 -0500
http://bitbucket.org/pypy/pypy/changeset/a174c61bb9fc/

Log:	python2.6 compat

diff --git a/pypy/module/test_lib_pypy/test_datetime.py b/pypy/module/test_lib_pypy/test_datetime.py
--- a/pypy/module/test_lib_pypy/test_datetime.py
+++ b/pypy/module/test_lib_pypy/test_datetime.py
@@ -103,7 +103,7 @@
     i10 = 10
     l10 = 10L
     d10 = decimal.Decimal(10)
-    d11 = decimal.Decimal(10.9)
+    d11 = decimal.Decimal('10.9')
     c10 = Number(10)
     o10 = Number(10L)
     assert datetime.datetime(i10, i10, i10, i10, i10, i10, i10) == \


More information about the pypy-commit mailing list