class_docstr: Test the THermitian observable
class_docstr_tok: ["Test","the","THermitian","observable"]
docstr: Patch the _eigs class attribute of the Hermitian class before every test.
docstr_tok: ["Patch","the","_eigs","class","attribute","of","the","Hermitian","class","before","every","test","."]
code: def setup_method(self):
      """Patch the _eigs class attribute of the Hermitian class before every test."""
      self.patched_eigs = (
          patch(  # pylint: disable=attribute-defined-outside-init
              "pennylane.ops.qutrit.observables.THermitian._eigs",
              PropertyMock(return_value={}),
          )
      )
      self.patched_eigs.start()
  
imports: import functools
  from unittest.mock import PropertyMock, patch
  import pytest
  import numpy
  from gate_data import GELL_MANN
  import pennylane
label_desc: Use image node_id 1 for calling the TestTHermitian obj's underlying member method code with example usage: obj.setup_method() without return types