Repo Added
|
Files
868
|
Badge
README BADGES
|
github
Fix pickling of SabreSwap (#15074) This commit fixes the support for pickling SabreSwap. In #14317 a new RoutingTarget rust struct was added to encapsulate the target details, and this was exposed to Python so that the Python class for the transpiler pass was able to reuse the object between multiple runs. However, this new type didn't implement pickle support and it would cause a failure when trying to pickle a SabreSwap instance that had a routing target populated. This commit fixes this oversight and implements pickle support for the RoutingTarget so that SabreSwap can always be pickled. Fixes #15071 (cherry picked from commit a816e64bb)
31 of 38 new or added lines in 1 file covered. (81.58%)
12 existing lines in 4 files now uncovered.92290 of 104402 relevant lines covered (88.4%)
548916.83 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|