class_docstr: Tests for generating a molecule object.
class_docstr_tok: ["Tests","for","generating","a","molecule","object","."]
docstr: Test that an error is raised if a wrong/not-supported atomic symbol is entered.
docstr_tok: ["Test","that","an","error","is","raised","if","a","wrong\/not-supported","atomic","symbol","is","entered","."]
code: def test_symbol_error(self, symbols, geometry):
      r"""Test that an error is raised if a wrong/not-supported atomic symbol is entered."""
      with pytest.raises(ValueError, match="are not supported"):
          qchem.Molecule(symbols, geometry)
  
file_path: pennylane/tests/qchem/test_molecule.py
imports: import pytest
  from pennylane import numpy
  from pennylane import qchem
label_desc: Use image node_id 4 for calling the TestMolecule obj's underlying member method code with example usage: obj.test_symbol_error(symbols, geometry) without return types