(self)
| 366 | self._pools = [] |
| 367 | |
| 368 | def tearDown(self): |
| 369 | super().tearDown() |
| 370 | for pool in self._pools: |
| 371 | pool.terminate() |
| 372 | self._pools = [] |
| 373 | |
| 374 | def create_pool(self, pool_class=pg_pool.Pool, |
| 375 | connection_class=pg_connection.Connection, **kwargs): |