'L{PIDFile.isRunning} re-raises L{OSError} if the attached C{errno}
value from L{os.kill} is not an expected one.'

@ifPlatformSupported
def test_isRunningUnknownErrno(self):

    pidFile = PIDFile(DummyFilePath())
    pidFile.writeRunningPID()
    def kill(pid, signal):
        raise OSError(errno.EEXIST, 'File    exists')
    self.patch(_pidfile, 'kill', kill)
    self.assertRaises(OSError, pidFile.isRunning)
