| 121 | self.patching.modules(*gevent_modules) |
| 122 | |
| 123 | class Timeout(Exception): |
| 124 | value = None |
| 125 | |
| 126 | def __init__(self, value): |
| 127 | self.__class__.value = value |
| 128 | |
| 129 | def __enter__(self): |
| 130 | return self |
| 131 | |
| 132 | def __exit__(self, *exc_info): |
| 133 | pass |
| 134 | timeout_callback = Mock(name='timeout_callback') |
| 135 | apply_target = Mock(name='apply_target') |
| 136 | getpid = Mock(name='getpid') |
no outgoing calls