• Steven Cordwell's avatar
    [doctests] Make doctests more robust · 3d20ccb4
    Steven Cordwell authored
    Use ellipsis so that Python 2 and Python 3 outputs will pass. Check that
    floating point numbers are within 1e-12 of the expected answer rather
    than exact matches.
    3d20ccb4
util.py 13.8 KB