

def test_frames_equal_close():
    frame1 = pd.DataFrame({
        'a': [1],
    })
    frame2 = pd.DataFrame({
        'a': [1.00000000000002],
    })
    with pytest.raises(AssertionError):
        testing.assert_frames_equal(frame1, frame2)
    testing.assert_frames_equal(frame1, frame2, use_close=True)

dataset/ETHPy150Open UDST/activitysim/activitysim/util/test/test_testing.py test_frames_equal_close/original