code: def test_run_check_oserror():
      with pytest.raises(OSError) as e:
          execute.run_check(_common.INVALID_CMD)
  
      assert e.value.errno in (errno.EACCES, errno.EINVAL)
  
file_path: graphviz/tests/backend/test_execute.py
imports: import errno
  import io
  import subprocess
  import pytest
  import graphviz
  from graphviz.backend import execute
  import _common
label_desc: Use image node_id 3 for calling a global function with example usage: test_run_check_oserror() without return types