def test_with_stop_on_exception(self):
        try:
            _retryable_test_with_stop(NoIOErrorAfterCount(5))
            self.fail("Expected IOError")
        except __HOLE__ as re:
            self.assertTrue(isinstance(re, IOError))
            print(re)
dataset/ETHPy150Open rholder/retrying/test_retrying.py/TestDecoratorWrapper.test_with_stop_on_exception