• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit-ibm-runtime / 27974850553
87%

Build:
DEFAULT BRANCH: main
Ran 22 Jun 2026 06:31PM UTC
Jobs 11
Files 319
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jun 2026 06:20PM UTC coverage: 86.981%. Remained the same
27974850553

push

github

web-flow
Homogenize on unittest-style asserts (#2941)

<!--
⚠️ The pull request title should be short detailed and understandable
for all.
⚠️ Also, please add a release note file using reno if the change needs
to be
  documented in the release notes.
⚠️ If your pull request fixes an open issue, please link to the issue.

✅ I have added the tests to cover my changes.
✅ I have updated the documentation accordingly.
✅ I have read the CONTRIBUTING document.
-->

### Summary

During #2934, noticed that we are mixing bare `asserts` with
unitttest-style asserts (`self.assertFoo`) in the tests. While they are
both acceptable and roughly equivalent in most scenarios, this PR
homogenizes them in direction of unittest, with the main argument being
consistency, and adds a `ruff` rule to enforce not using asserts.

### Details and comments

Other minor arguments for going with unittest are continuing to strive
for a runner-agnostic suite based on `unittest`, which can provide more
informative details when the asserts are not met. Minor argument for
bare `assert` is readability and conciseness.

Fixes N/A

### AI/LLM disclosure

- [x] I used the following tool to generate or modify code: claude opus
4.8 for easier replacing.

8218 of 9448 relevant lines covered (86.98%)

9.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.12-macos-latest - 27974850553.1 22 Jun 2026 06:31PM UTC 319
86.98
GitHub Action Run
2 unit-tests_python3.10-windows-latest - 27974850553.2 22 Jun 2026 06:32PM UTC 319
85.37
GitHub Action Run
3 unit-tests_python3.11-ubuntu-latest - 27974850553.3 22 Jun 2026 06:31PM UTC 319
86.98
GitHub Action Run
4 unit-tests_python3.11-macos-latest - 27974850553.4 22 Jun 2026 06:31PM UTC 319
86.98
GitHub Action Run
5 unit-tests_python3.13-windows-latest - 27974850553.5 22 Jun 2026 06:32PM UTC 319
85.37
GitHub Action Run
6 unit-tests_python3.12-windows-latest - 27974850553.6 22 Jun 2026 06:32PM UTC 319
85.37
GitHub Action Run
7 unit-tests_python3.10-ubuntu-latest - 27974850553.7 22 Jun 2026 06:31PM UTC 319
86.98
GitHub Action Run
8 unit-tests_python3.13-macos-latest - 27974850553.8 22 Jun 2026 06:31PM UTC 319
86.98
GitHub Action Run
9 unit-tests_python3.12-ubuntu-latest - 27974850553.9 22 Jun 2026 06:31PM UTC 319
86.98
GitHub Action Run
10 unit-tests_python3.11-windows-latest - 27974850553.10 22 Jun 2026 06:32PM UTC 319
85.37
GitHub Action Run
11 unit-tests_python3.13-ubuntu-latest - 27974850553.11 22 Jun 2026 06:31PM UTC 319
86.98
GitHub Action Run
Source Files on build 27974850553
  • Tree
  • List 319
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27974850553
  • 609b3c3c on github
  • Prev Build on main (#27835008169)
  • Next Build on main (#28049770968)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc