push
github
Fix pass-manager drawing tests for pydot 3.0 (backport #12775) (#12777) * Fix pass-manager drawing tests for pydot 3.0 (#12775) * 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) * Fix reference files --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
0 of 2 new or added lines in 1 file covered. (0.0%)
5 existing lines in 2 files now uncovered.74524 of 85459 relevant lines covered (87.2%)
101696.11 hits per line