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

Qiskit / qiskit / 9959481301

16 Jul 2024 03:10PM UTC coverage: 89.949% (+0.005%) from 89.944%
9959481301

push

github

web-flow
Fix pass-manager drawing tests for pydot 3.0 (#12775) (#12778)

* Fix pass-manager drawing tests for pydot 3.0

Two changes in pydot 3 changed the reference output:

1. previously, attributes were sorted before being output.  Pydot 3
   stores them in declaration order.  Here, we sort our attributes to
   maintain the closest behaviour between the two versions.

2. Text fields (like `label`) that contain special characters now have
   their values enclosed in quote marks.  This is a difference between
   the two versions, and we update the reference files to the new
   version since that's what we'll be using in CI.

Qiskit is still compatible with pydot 2 in general usage, it's just our
tests that are a little more tied to the current version.

* Add test-only constraint on pydot

(cherry picked from commit c3b468c83)

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

0 of 2 new or added lines in 1 file covered. (0.0%)

6 existing lines in 3 files now uncovered.

61851 of 68762 relevant lines covered (89.95%)

233441.09 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

17.54
/qiskit/visualization/pass_manager_visualization.py


Source Not Available

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