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

Qiskit / qiskit / 6012999304
88%

Build:
DEFAULT BRANCH: main
Ran 29 Aug 2023 02:07PM UTC
Jobs 1
Files 1268
Run time 21s
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

29 Aug 2023 12:09PM UTC coverage: 87.281% (+0.03%) from 87.252%
6012999304

push

github

web-flow
Fix test suite to account for beta numpy versions (#10723)

Fix the numpy version check in the test suite to account
for the possibility that `numpy.__version__` may contain letters.
Prior to this change, running tests on numpy 1.26.0b1 would result
in the following error:

```
test/python/algorithms/optimizers/test_optimizers_scikitquant.py:72: in TestOptimizers
    tuple(map(int, numpy.__version__.split("."))) >= (1, 24, 0),
E   ValueError: invalid literal for int() with base 10: '0b1'
```

Since the third component is matched against zero, the simplest solution
is to check only the first two components, since we can expect that
the first two split elements will be integers.

74295 of 85122 relevant lines covered (87.28%)

60820.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6012999304.1 29 Aug 2023 02:07PM UTC 0
87.28
GitHub Action Run
Source Files on build 6012999304
Detailed source file information is not available for this build.
  • Back to Repo
  • 66f1048a on github
  • Prev Build on gh-readonly-queue/main/pr-10642-cb4da6847306ef924200ce4af8b5875b5558b86e (#6007098563)
  • Next Build on main (#6014680498)
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