def _close_to_dt(d1, d2, epsilon=5):
    '\n    Assert that datetimes *d1* and *d2* are within *epsilon* microseconds.\n    '
    delta = (d2 - d1)
    mus = abs((_total_seconds(delta) * 1000000.0))
    assert (mus < epsilon)
Assert that datetimes *d1* and *d2* are within *epsilon* microseconds.
def _close_to_dt(d1, d2, epsilon=5):
    '\n    \n    '
    delta = (d2 - d1)
    mus = abs((_total_seconds(delta) * 1000000.0))
    assert (mus < epsilon)