We're not using doctest around here, but it's got to have a way to define a global function -- is_close_enough_to which you can then use all over the place, no? Laura