class_docstr: Test that the correct errors are raised
class_docstr_tok: ["Test","that","the","correct","errors","are","raised"]
docstr: Test that error is raised if more ops are requested than can fit in control wires
docstr_tok: ["Test","that","error","is","raised","if","more","ops","are","requested","than","can","fit","in","control","wires"]
code: def test_too_many_ops(self, ops, control, msg_match):
      """Test that error is raised if more ops are requested than can fit in control wires"""
      with pytest.raises(ValueError, match=msg_match):
          qml.Select(ops, control)
  
imports: import copy
  import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 2 for calling the TestErrorMessages obj's underlying member method code with example usage: obj.test_too_many_ops(ops, control, msg_match) without return types