Closed jakelishman closed 3 days ago
One or more of the following people are relevant to this code:
@Qiskit/terra-core
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
crates/qasm2/src/lex.rs | 5 | 92.62% | ||
crates/qasm2/src/parse.rs | 6 | 97.15% | ||
<!-- | Total: | 11 | --> |
Totals | |
---|---|
Change from base Build 9703107599: | 0.01% |
Covered Lines: | 63805 |
Relevant Lines: | 71092 |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
crates/qasm2/src/lex.rs | 4 | 93.89% | ||
<!-- | Total: | 4 | --> |
Totals | |
---|---|
Change from base Build 9703107599: | 0.03% |
Covered Lines: | 63822 |
Relevant Lines: | 71092 |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
crates/qasm2/src/lex.rs | 3 | 93.13% | ||
<!-- | Total: | 3 | --> |
Totals | |
---|---|
Change from base Build 9703107599: | 0.03% |
Covered Lines: | 63819 |
Relevant Lines: | 71092 |
Summary
unittest.TestCase.assertWarns
in context-manager form has an awkward habit of querying the__warningregistry__
attribute on every module in existence. This interacts poorly with a Numpy 2 deprecation warning trigger for code that's attempting to import functions from modules that became private in Numpy 2, if a warning has previously been triggered out ofnumpy.linalg._linalg
.This simply suppresses that particular warning from the test suite.
Details and comments