Repo Added
|
Files
871
|
Badge
README BADGES
|
push
github
Add missing `__getitem__` and other attributes to `BitLocations` (#13997) (#14008) * Add: `__getitem__` and other attributes to `BitLocations` In an oversight after #13860, when switching to use the pyo3 friendly `BitLocations` which is not an instance of `namedtuple` we did not extend it to include sequence methods `__getitem__` and `__len__`, which results in breaking api changes. The following commits add those methods to `BitLocations` and also labels the class correctly as a `sequence` in PyO3. * Fix: Address review comments * Fix: More formatting issues in tests * Apply suggestions from code review Co-authored-by: Matthew Treinish <mtreinish@kortar.org> --------- Co-authored-by: Matthew Treinish <mtreinish@kortar.org> (cherry picked from commit 3a80a8143) Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>
17 of 18 new or added lines in 1 file covered. (94.44%)
6 existing lines in 2 files now uncovered.72662 of 82453 relevant lines covered (88.13%)
497584.09 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|