Commit 5e7bc33
authored
Add missing import of qiskit.qasm2 in unit test (#7137)
* Add missing import of qiskit.qasm2 in unit test
The `qiskit.qasm2` submodule needs to be imported explicitly.
Also simplify test-skipping when qiskit is not installed.
Fixes failure of the CI `Coverage check` job.
* Address typecheck1 parent ed7ea48 commit 5e7bc33
1 file changed
+8
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
1486 | 1485 | | |
1487 | 1486 | | |
1488 | 1487 | | |
1489 | | - | |
1490 | | - | |
1491 | | - | |
1492 | | - | |
1493 | | - | |
1494 | | - | |
1495 | | - | |
1496 | | - | |
1497 | | - | |
1498 | | - | |
1499 | | - | |
1500 | | - | |
1501 | | - | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
1502 | 1496 | | |
1503 | 1497 | | |
1504 | 1498 | | |
| |||
0 commit comments