'If the matching function returns ``False``, the retry predicate
returned by ``retry_if`` re-raises the exception.'

def test_does_not_match(self):

    should_retry = retry_if((lambda exception: (not isinstance(exception, CustomException))))
    self.assertThat((lambda : should_retry(CustomException, CustomException('hello,    world'), None)), raises(CustomException))
