class_docstr: Test converters to_zx and from_zx.
docstr: Assert error raised when input is neither a tape, QNode, nor quantum function
docstr_tok: ["Assert","error","raised","when","input","is","neither","a","tape",",","QNode",",","nor","quantum","function"]
code: def test_invalid_argument(self):
      """Assert error raised when input is neither a tape, QNode, nor quantum function"""
      with pytest.raises(
          OperationTransformError,
          match="Input is not an Operator, tape, QNode, or quantum function",
      ):
          _ = qml.transforms.to_zx(None)
  
imports: import sys
  from functools import partial
  import numpy
  import pytest
  import pennylane
  from pennylane.tape import QuantumScript
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 1 for calling the TestConvertersZX obj's underlying member method code with example usage: obj.test_invalid_argument() without return types