push
github
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%)
8 existing lines in 3 files now uncovered.61853 of 68762 relevant lines covered (89.95%)
233652.15 hits per line