'If the matching function returns ``True``, the retry predicate returned
by ``retry_if`` returns ``None``.'

def test_matches(self):

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