def test_is_type_of_failure(self):
        try:
            assert_that('foo').is_type_of(int)
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).is_equal_to('Expected <foo:str> to be of type <int>, but was not.')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_type.py/TestType.test_is_type_of_failure