(self)
| 2266 | |
| 2267 | # pylint: disable=W1701 |
| 2268 | def __del__(self): |
| 2269 | # This IS really necessary! |
| 2270 | # When running tests, if self.events is not destroyed, we leak 2 |
| 2271 | # threads per test case which uses self.client |
| 2272 | self.destroy() |
| 2273 | |
| 2274 | # pylint: enable=W1701 |
| 2275 |