class_docstr: Test the methods of the creation operator FermiC
docstr: Test that passing a value for orbital that is not a positive integer raises an error
docstr_tok: ["Test","that","passing","a","value","for","orbital","that","is","not","a","positive","integer","raises","an","error"]
code: def test_bad_orbital_raises_error(self, orbital):
      """Test that passing a value for orbital that is not a positive integer raises an error"""
      with pytest.raises(
          ValueError,
          match="expected a single, positive integer value for orbital",
      ):
          _ = FermiC(orbital)
  
imports: import pytest
  from pennylane.fermi.fermionic import FermiWord, FermiC, FermiA
label_desc: Use image node_id 2 for calling the TestFermiC obj's underlying member method code with example usage: obj.test_bad_orbital_raises_error(orbital) without return types