'Should propagate any OSError other than ENOENT.'

def test_propagates_arbitrary_oserror(self):

    set_pidlockfile_scenario(self, 'exist-current-pid')
    pidfile_path = self.scenario['path']
    mock_error = OSError(errno.EACCES, 'Denied', pidfile_path)
    os.remove.mock_raises = mock_error
    self.failUnlessRaises(type(mock_error), pidlockfile.remove_existing_pidfile, pidfile_path)
