def test_is_type_of_bad_arg_failure(self):
        try:
            assert_that('foo').is_type_of('bad')
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).is_equal_to('given arg must be a type')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_type.py/TestType.test_is_type_of_bad_arg_failure