code: def test_invalid_argument():
      """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.eigvals(None)
  
imports: from functools import reduce
  import pytest
  import scipy
  from gate_data import CNOT, H, I, S, X, Y, Z
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 1 for calling a global function with example usage: test_invalid_argument() without return types