• Neal Norwitz's avatar
    Get doctest to pass. The problem was int/int -> float now. There · 914a8184
    Neal Norwitz yazdı
    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.
    914a8184
test_doctest.py 70.7 KB