def testBaseCloseClosesRequest(self): base.close(self.anApp) gc.collect() self.assertEqual(_sentinel1, ['__del__'])