def test_dynamic_assertion_on_method_failure(self):
        try:
            assert_that(self.fred).has_say_goodbye('Foo')
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).contains('val does not have zero-arg method <say_goodbye()>')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_dyn.py/TestDyn.test_dynamic_assertion_on_method_failure