Skip to content

Fix double Widget inheritance in the LineBox - #780

Merged
penguinolog merged 1 commit into
urwid:masterfrom
penguinolog:line_box_double_inheritance
Jan 31, 2024
Merged

penguinolog merged 1 commit into
urwid:masterfrom
penguinolog:line_box_double_inheritance

Conversation

@penguinolog

Copy link
Copy Markdown
Collaborator

This PR fixes MRO hell for super calls
due to parents receive different widgets in the __init__

Checklist
  • I've ensured that similar functionality has not already been implemented
  • I've ensured that similar functionality has not earlier been proposed and declined
  • I've branched off the master or python-dual-support branch
  • I've merged fresh upstream into my branch recently
  • I've ran tox successfully in local environment
  • I've included docstrings and/or documentation and/or examples for my code (if this is a new feature)

Partial #726

This PR fixes MRO hell for `super` calls
due to parents receive different widgets in the `__init__`
@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 7724606450

  • -1 of 9 (88.89%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.007%) to 71.111%

Changes Missing Coverage Covered Lines Changed/Added Lines %
urwid/widget/line_box.py 7 8 87.5%
Totals Coverage Status
Change from base Build 7724411600: -0.007%
Covered Lines: 8768
Relevant Lines: 12438

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants