code: def test_process_wires_raises():
      """Test if exceptions are raised for _wire_proc()"""
  
      with pytest.raises(
          ValueError,
          match="Expected only int-keyed or consecutive int-valued dict",
      ):
          qml.qchem.convert._process_wires({"a": "b"})
  
      with pytest.raises(
          ValueError, match="Expected type Wires, list, tuple, or dict"
      ):
          qml.qchem.convert._process_wires(1.2)
  
      with pytest.raises(ValueError, match="Length of `wires`"):
          qml.qchem.convert._process_wires([3, 4], 3)
  
imports: import os
  import sys
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane import qchem
  from pennylane.operation import disable_new_opmath, enable_new_opmath
label_desc: Use image node_id 17 for calling a global function with example usage: test_process_wires_raises() without return types