• Neal Norwitz's avatar
    Get doctest to pass. The problem was int/int -> float now. There · 13058150
    Neal Norwitz authored
    were some cases where an int was assumed.
    
    Also had to change the string of the exception when dividing and int by zero.
    Not sure what the best error message should be.  Currently
      5 / 0 yields the message: ZeroDivisionError: float division
    
    That isn't entirely correct.  But I'm not sure what else to do.
    13058150
test_doctest.py 70.7 KB