def test_contains_single_item_failure(self):
        try:
            assert_that('foo').contains('x')
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).is_equal_to('Expected <foo> to contain item <x>, but did not.')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_string.py/TestString.test_contains_single_item_failure