def test_described_as_chained(self):
        try:
            assert_that(1).described_as('extra msg').is_equal_to(1).described_as('other msg').is_equal_to(1).described_as('last msg').is_equal_to(2)
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).is_equal_to('[last msg] Expected <1> to be equal to <2>, but was not.')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_description.py/TestDescription.test_described_as_chained