Closed mdickinson closed 9 years ago
Error from Travis on Python 2.6 is:
======================================================================
ERROR: test_floordiv (bigfloat.test.test_bigfloat.BigFloatTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/mdickinson/bigfloat/bigfloat/test/test_bigfloat.py", line 361, in test_floordiv
z = fractions.Fraction(x) // fractions.Fraction(y)
File "/opt/python/2.6.9/lib/python2.6/fractions.py", line 99, in __new__
numerator = operator.index(numerator)
TypeError: 'float' object cannot be interpreted as an index
Changelog needs updating.
This PR:
mod
function tofmod
.mod
andfloordiv
functions for the new%
semantics and the//
operation, respectively.