

def test_frames_equal_not_frames():
    frame = pd.DataFrame({
        'a': [1],
    })
    with pytest.raises(AssertionError) as info:
        testing.assert_frames_equal(frame, 1)
    assert (info.value.message == 'Inputs must both be pandas DataFrames.')

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