def test_ends_with_bad_arg_none_failure(self):
        try:
            assert_that('fred').ends_with(None)
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).is_equal_to('given suffix arg must not be none')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_string.py/TestString.test_ends_with_bad_arg_none_failure