def test_does_not_match_bad_arg_type_failure(self):
        try:
            assert_that('fred').does_not_match(123)
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).is_equal_to('given pattern arg must be a string')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_string.py/TestString.test_does_not_match_bad_arg_type_failure