def tearDown(self):
        for p in self.player, self.observer:
            try:
                p.destroy()
            except AttributeError:
                pass
Disconnect the player and observer from their respective transports.
dataset/ETHPy150Open twisted/imaginary/imaginary/test/commandutils.py/CommandTestCaseMixin.tearDown