def test_startedClose(self):
        reactor = EventReactor(True)
        pool = ConnectionPool('twisted.test.test_adbapi', cp_reactor=reactor)
        # There should be a shutdown trigger waiting.
        self.assertEqual(reactor.triggers,
                         [('during', 'shutdown', pool.finalClose)])
        pool.close()
        # But not anymore.
        self.assertFalse(reactor.triggers)
If L{ConnectionPool.close} is called after it has been started, but
dataset/ETHPy150Open twisted/twisted/twisted/test/test_adbapi.py/ConnectionPoolTests.test_startedClose