'Calling L{UnixApplicationRunner.removePID} with a non-existent filename
logs an OSError.'

def test_removePIDErrors(self):

    runner = UnixApplicationRunner({})
    runner.removePID('fakepid')
    errors = self.flushLoggedErrors(OSError)
    self.assertEqual(len(errors), 1)
    self.assertEqual(errors[0].value.errno, errno.ENOENT)
