Skip to content

Suppress all warnings emitted by the test suite - #593

Open
thierry-martinez wants to merge 4 commits into
TeamGraphix:masterfrom
thierry-martinez:suppress_warnings_in_test-suite
Open

Suppress all warnings emitted by the test suite#593
thierry-martinez wants to merge 4 commits into
TeamGraphix:masterfrom
thierry-martinez:suppress_warnings_in_test-suite

Conversation

@thierry-martinez

Copy link
Copy Markdown
Collaborator

This commit suppresses all warnings emitted by the test suite, ensuring that any new warnings introduced by future changes are easier to notice.

It also fixes the warning emitted by remove_pauli_measurements.py when isolated nodes are removed, ensuring that it is only emitted for non-Pauli nodes.

Finally, it ensures that warnings emitted by CliffordMap.from_focused_flow and PauliFlow.extract_circuit are reported to their call sites.

This commit suppresses all warnings emitted by the test suite,
ensuring that any new warnings introduced by future changes are easier
to notice.

It also fixes the warning emitted by `remove_pauli_measurements.py`
when isolated nodes are removed, ensuring that it is only emitted for
non-Pauli nodes.

Finally, it ensures that warnings emitted by
`CliffordMap.from_focused_flow` and `PauliFlow.extract_circuit` are
reported to their call sites.
@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.29%. Comparing base (00e82f6) to head (123abbc).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #593   +/-   ##
=======================================
  Coverage   89.29%   89.29%           
=======================================
  Files          49       49           
  Lines        7799     7799           
=======================================
  Hits         6964     6964           
  Misses        835      835           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matulni matulni left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the effort!
LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants