def test_runSignaled(self):
        builder = BookBuilder()
        exc = self.assertRaises(
            CommandFailed, builder.run,
            [sys.executable, '-c',
            'import sys; print "hi"; sys.stdout.flush(); '
            'import os; os.kill(os.getpid(), 9)'])
        self.assertEquals(exc.exitSignal, 9)
        self.assertEquals(exc.exitStatus, None)
        self.assertEquals(exc.output, "hi\n")
Tear down this test case.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/test/test_release.py/BookBuilderTests.test_runSignaled--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/admin/tests.py/UpdateTests.tearDown