

def test_is_instance_of_bad_arg_failure(self):
    try:
        assert_that('foo').is_instance_of('bad')
        fail('should have raised error')
    except TypeError as ex:
        assert_that(str(ex)).is_equal_to('given arg must be a class')

dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_type.py TestType.test_is_instance_of_bad_arg_failure/original