Repo Added
|
Files
869
|
Badge
README BADGES
|
push
github
Do not raise deprecation warnings for internal uses of dag.duration and dag.unit (#14133) (#14140) * Filter Rust deprecation warning when calling dag.duration/dag.unit internally Filter Rust deprecation warning when calling dag.duration/dag.unit internally * Apply Matt's suggestions: * Refactor access patterns: add dag._duration and dag._unit * Refactor internal uses of dag.duration and dag.unit to rely on internal methods * Remove blanket warning filters from unit test config On top of these: * Extend deprecation warnings to dag.duration and dag.unit setters (previously only in getters) * Clean up unit test config from old filters * Change stacklevel * Fix circuit_to_dag * Handle failing tests * _DAGDependencyV2 is private and not a DAGCircuit, so don't use internal attributes * Reduce duplication in getters and setters (cherry picked from commit d0aa10088) Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com>
34 of 68 new or added lines in 9 files covered. (50.0%)
41 existing lines in 6 files now uncovered.72818 of 82696 relevant lines covered (88.06%)
356613.02 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|