def test_is_alpha_digit_failure(self):
        try:
            assert_that('foo123').is_alpha()
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).is_equal_to('Expected <foo123> to contain only alphabetic chars, but did not.')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_string.py/TestString.test_is_alpha_digit_failure