def test_disconnectingTransportCannotPause(self):
        self.transport.loseConnection()
        self.assertRaises(RuntimeError, self.transport.pauseProducing)
L{StringTransport.pauseProducing} raises L{RuntimeError} if the
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_stringtransport.py/StringTransportTests.test_disconnectingTransportCannotPause