code: def test_release_unacquired(tmpfile):
      with pytest.raises(portalocker.LockException):
          portalocker.RLock(tmpfile).release()
  
imports: from __future__ import print_function
  from __future__ import with_statement
  import os
  import dataclasses
  import multiprocessing
  import time
  import typing
  import pytest
  import portalocker
  from portalocker import utils
  from portalocker import LockFlags
label_desc: Use image node_id 12 for calling a global function with example usage: test_release_unacquired(tmpfile) without return types