def test_removePIDErrors(self):
        runner = UnixApplicationRunner({})
        runner.removePID("fakepid")
        errors = self.flushLoggedErrors(OSError)
        self.assertEquals(len(errors), 1)
        self.assertEquals(errors[0].value.errno, errno.ENOENT)
Calling L{UnixApplicationRunner.removePID} with a non-existent filename logs
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_twistd.py/UnixApplicationRunnerRemovePID.test_removePIDErrors