push
github
raise an exception with a custom gate with clbits or no qubits (#10438) (#10485) * raise an exception with a custom gate with no qubits or with one-or-more clbits * QASM2ExportError * test_circuit_raises_invalid_custom_gate_1 * test_circuit_raises_invalid_custom_gate_2 * reno * Split error messages to be more specific * Fix testing bug * Fixup release note --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com> (cherry picked from commit 208c29a64) Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
6 of 6 new or added lines in 1 file covered. (100.0%)
72880 of 84831 relevant lines covered (85.91%)
60132.71 hits per line