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

Qiskit / qiskit-ibm-runtime / 20756247207 / 6
83%
main: 83%

Build:
DEFAULT BRANCH: main
Ran 06 Jan 2026 05:35PM UTC
Files 240
Run time 6s
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

06 Jan 2026 05:09PM UTC coverage: 81.092% (-0.02%) from 81.111%
20756247207.6

push

github

web-flow
Delay imports of optional dependencies (#2485)

* Delay imports of optional dependencies

`qiskit_aer` and `scipy` were eagerly imported in the `utils.json` module
(with fallbacks for when they were not installed) which is imported
along with `import qiskit_ibm_runtime`. Here these imports are delayed
until JSON serialization or deserialization are attempted. In the
serialization case, the packages would have already been imported before
objects from them would need to be serialized any way.

Avoiding these imports saves roughly half a second (but the number
depends on the computer running the test).

* Use LazyImportTester for Scipy and Aer deserialization

* Fix typo in comments

5957 of 7346 relevant lines covered (81.09%)

0.81 hits per line

Source Files on job unit-tests_python3.11-windows-latest - 20756247207.6
  • Tree
  • List 240
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20756247207
  • fdfb7cff on github
  • Prev Job for on main (#20488059657.5)
  • Next Job for on main (#20809356897.1)
  • 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