def test_is_digit_space_failure(self):
        try:
            assert_that('1 000 000').is_digit()
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).is_equal_to('Expected <1 000 000> to contain only digits, but did not.')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_string.py/TestString.test_is_digit_space_failure