Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
Subject: gentoo-x86 commit in dev-python/mpmath/files: mpmath-0.17-python-3.2.patch
Date: Tue, 26 Jun 2012 03:13:34 +0000 (UTC)
bicatali    12/06/26 03:13:34

  Added:                mpmath-0.17-python-3.2.patch
  Log:
  Fixed tests for python-3.2, thanks Arfrever. Some cleaning.
  
  (Portage version: 2.1.11.1/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-python/mpmath/files/mpmath-0.17-python-3.2.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpmath/files/mpmath-0.17-python-3.2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpmath/files/mpmath-0.17-python-3.2.patch?rev=1.1&content-type=text/plain

Index: mpmath-0.17-python-3.2.patch
===================================================================
http://code.google.com/p/mpmath/issues/detail?id=203
http://code.google.com/p/mpmath/source/detail?r=1238

--- mpmath/tests/test_basic_ops.py
+++ mpmath/tests/test_basic_ops.py
@@ -148,8 +148,8 @@
     assert hash(mp.mpq(5,1)) == hash(5)
     assert hash(mp.mpq(1,2)) == hash(0.5)
     if sys.version >= "3.2":
-        assert hash(mpf(1))*2**2000 == hash(2**2000)
-        assert hash(mpf(1))/2**2000 == hash(mpq(1,2**2000))
+        assert hash(mpf(1)*2**2000) == hash(2**2000)
+        assert hash(mpf(1)/2**2000) == hash(mpq(1,2**2000))
 
 # Advanced rounding test
 def test_add_rounding():





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-ruby/builder: builder-2.1.2-r3.ebuild ChangeLog
Next by thread:
gentoo-x86 commit in dev-lang/swi-prolog: swi-prolog-6.1.6.ebuild swi-prolog-6.1.5.ebuild ChangeLog
Previous by date:
gentoo-x86 commit in dev-python/mpmath: mpmath-0.17.ebuild ChangeLog
Next by date:
gentoo-x86 commit in dev-lang/swi-prolog: swi-prolog-6.1.6.ebuild swi-prolog-6.1.5.ebuild ChangeLog


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.