(self)
| 336 | """ |
| 337 | |
| 338 | def start(self): |
| 339 | # lazy import: cached.disabled is rarely used, yet mock import |
| 340 | # adds 50ms to root package import |
| 341 | from unittest import mock |
| 342 | |
| 343 | self.patcher = mock.patch.object(cached, '_disabled', True) |
| 344 | self.patcher.start() |
| 345 | |
| 346 | def stop(self): |
| 347 | self.patcher.stop() |
no outgoing calls