'L{NonePIDFile.writeRunningPID} raises L{OSError} with an errno of
L{errno.EPERM}.'

def test_writeRunningPID(self):

    pidFile = NonePIDFile()
    error = self.assertRaises(OSError, pidFile.writeRunningPID)
    self.assertEqual(error.errno, errno.EPERM)
