Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13911 | Add ignoring of RuntimeWarning of aer in GenericBackendV2 test #13912

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LeanderCS
Copy link
Contributor

@LeanderCS LeanderCS commented Feb 22, 2025

Summary

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

This PR adds that this type of error for the affected class gets ignored in the tests.

Fixes #13911

@LeanderCS LeanderCS requested review from jyu00 and a team as code owners February 22, 2025 17:59
@qiskit-bot qiskit-bot added the Community PR PRs from contributors that are not 'members' of the Qiskit repo label Feb 22, 2025
@qiskit-bot
Copy link
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

@LeanderCS LeanderCS changed the title 13911 | Add ignoring of RuntimeWarning for GenericBackendV2 in test 13911 | Add ignoring of RuntimeWarning for aer in GenericBackendV2 test Feb 22, 2025
@LeanderCS LeanderCS changed the title 13911 | Add ignoring of RuntimeWarning for aer in GenericBackendV2 test 13911 | Add ignoring of RuntimeWarning of aer in GenericBackendV2 test Feb 22, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 13475630823

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 7 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.008%) to 88.129%

Files with Coverage Reduction New Missed Lines %
crates/accelerate/src/unitary_synthesis.rs 2 94.29%
crates/qasm2/src/lex.rs 5 92.73%
Totals Coverage Status
Change from base Build 13469145802: 0.008%
Covered Lines: 78403
Relevant Lines: 88964

💛 - Coveralls

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: No status
Development

Successfully merging this pull request may close these issues.

Filter Aer not found warning in tests
3 participants