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

Qiskit / qiskit-terra / 5558963179
87%

Build:
DEFAULT BRANCH: main
Ran 14 Jul 2023 11:22PM UTC
Jobs 1
Files 1265
Run time 17s
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

pending completion
5558963179

push

github

web-flow
Unify OpenQASM 2 exceptions (#9956)

* Unify OpenQASM 2 exceptions

Since gh-9784 added a new `qiskit.qasm2` package and suitable exceptions
for both import and export of OpenQASM 2 programs, this commit now
unifies the exception handling through the rest of the library to use
these exceptions.

To avoid breaks in compatibility, the old `qiskit.qasm.QasmError` is now
a re-export of `qiskit.qasm2.QASM2Error`.  This is the base error of
both the exporter and importers, despite the old documentation of
`QasmError` claiming to be specifically for parser errors.  In practice,
the exporter also emitted `QasmError`, so having that be `QASM2Error`
allows people catching that error to get the same behaviour in these new
forms.  The actual exporter and importer are updated to emit the precise
subclasses.

* Add newly-imported gates to exclude

The slight change in import order means that two new `Gate` class
bodies got executed during the imports for this particular part of the
test suite.  These gates were internal to the `qasm2.load`
functionality and should be exempt from the automated
definition-equivalence testing.

72240 of 83971 relevant lines covered (86.03%)

45792.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5558963179.1 14 Jul 2023 11:22PM UTC 0
86.03
GitHub Action Run
Source Files on build 5558963179
Detailed source file information is not available for this build.
  • Back to Repo
  • 4409f68a on github
  • Prev Build on main (#5556919551)
  • Next Build on main (#5559766630)
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