About | Projects | Docs | Forums | Lists | Bugs | Get Gentoo! | Support | Planet | Wiki
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():
Updated Jun 26, 2012
Summary: Archive of the gentoo-commits mailing list.
Donate to support our development efforts.
Your browser does not support iframes.