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

def test_remove(self):

    pidFile = NonePIDFile()
    error = self.assertRaises(OSError, pidFile.remove)
    self.assertEqual(error.errno, errno.ENOENT)
