def test_is_same_as_failure():
    try:
        obj = object()
        other = object()
        assert_that(obj).is_same_as(other)
        fail('should have raised error')
    except __HOLE__ as ex:
        assert_that(str(ex)).matches('Expected <.+> to be identical to <.+>, but was not.')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_same_as.py/test_is_same_as_failure