def assert_datetimes_equal(a, b):
    """Tests for equality of times by only testing up to the millisecond."""
    assert_equal(a.utctimetuple()[:-3], b.utctimetuple()[:-3], "%r != %r" % (a, b))
dataset/ETHPy150Open Yelp/Testify/testify/assertions.py/assert_datetimes_equal/original