docstr: Test that wires_to_json raises an ``UnserializableWiresError`` when
  the wires are not json types or integers.
docstr_tok: ["Test","that","wires_to_json","raises","an","``","UnserializableWiresError","``","when","the","wires","are","not","json","types","or","integers","."]
code: def test_unserializable(self, in_):
      """Test that wires_to_json raises an ``UnserializableWiresError`` when
      the wires are not json types or integers."""
      in_ = Wires(in_)
  
      with pytest.raises(UnserializableWireError):
          wires_to_json(in_)
  
file_path: pennylane/tests/data/attributes/operator/test__wires.py
imports: import json
  import numpy
  import pytest
  import pennylane
  from pennylane.data.attributes.operator._wires import UnserializableWireError, wires_to_json
  from pennylane.wires import Wires
label_desc: Use image node_id 3 for calling the TestWiresToJson obj's underlying member method code with example usage: obj.test_unserializable(in_) without return types