Skip to content

13911 | Add ignoring of RuntimeWarning of aer in GenericBackendV2 test (backport #13912)#13968

Merged
ElePT merged 1 commit intostable/1.4from
mergify/bp/stable/1.4/pr-13912
Mar 7, 2025
Merged

13911 | Add ignoring of RuntimeWarning of aer in GenericBackendV2 test (backport #13912)#13968
ElePT merged 1 commit intostable/1.4from
mergify/bp/stable/1.4/pr-13912

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Mar 7, 2025

Summary

Because the aer isn't available on all envs, the test logs get flooded with sometimes meaningless DeprecationWarnings.

This PR adds that the affected class's error gets ignored in the tests.

Fixes #13911


This is an automatic backport of pull request #13912 done by Mergify.

#13912)

* 13911 | Add ignoring of RuntimeWarning for GenericBackendV2 in test

* 13911 | Move warning filtering to correct class

(cherry picked from commit 20f83e5)
@qiskit-bot
Copy link
Copy Markdown
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@github-actions github-actions Bot added the Community PR PRs from contributors that are not 'members' of the Qiskit repo label Mar 7, 2025
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 13718963243

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 25 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.01%) to 88.842%

Files with Coverage Reduction New Missed Lines %
crates/accelerate/src/unitary_synthesis.rs 1 93.21%
crates/qasm2/src/lex.rs 6 91.48%
crates/qasm2/src/parse.rs 18 96.69%
Totals Coverage Status
Change from base Build 13716591116: -0.01%
Covered Lines: 79382
Relevant Lines: 89352

💛 - Coveralls

@ElePT ElePT added this pull request to the merge queue Mar 7, 2025
Merged via the queue into stable/1.4 with commit f86d8b4 Mar 7, 2025
@mtreinish mtreinish deleted the mergify/bp/stable/1.4/pr-13912 branch April 29, 2025 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community PR PRs from contributors that are not 'members' of the Qiskit repo

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants