• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

penguinolog / urwid / 42627379187
94%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 01:40PM UTC
Jobs 17
Files 81
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Nov 2026 01:38PM UTC coverage: 93.551%. Remained the same
42627379187

push

github

web-flow
Name the widget and its sizing in sizing-mode errors (#1612)

* Name the widget and its sizing in sizing-mode errors

A widget given a size of a sizing mode it does not support failed with a bare
"too many values to unpack" or "has no attribute 'rows'" deep inside urwid.
It now raises WidgetSizingError (fixes #247):

- The message names the widget, the size, the modes it supports and how to wrap it.
- Exception notes list the widgets that passed the size down, innermost first.
- WidgetMeta checks render, rows, pack, keypress and mouse_event of every Widget subclass, custom ones included.
- Raised errors also subclass the ValueError, IndexError or AttributeError they replace, with name/obj kept.
- An error from a supported size, a widget's own WidgetError, or a failing sizing() passes through unchanged.
- The error holds no reference cycle and pickles without the widget.

* Restore WidgetSizingError.name after unpickling on PyPy

PyPy's default BaseException.__setstate__ puts "name" into the instance dict
instead of setting AttributeError.name, so a pickled sizing error lost it.

- __setstate__ restores each state item with setattr().
- The pickled state no longer carries the id of the outermost widget, which
  means nothing in another process.

6868 of 7526 branches covered (91.26%)

Branch coverage included in aggregate %.

88 of 97 new or added lines in 1 file covered. (90.72%)

3 existing lines in 1 file now uncovered.

17676 of 18710 relevant lines covered (94.47%)

14.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
86.72
3.32% urwid/widget/widget.py

Coverage Regressions

Lines Coverage ∆ File
3
99.44
0.0% urwid/canvas.py
Jobs
ID Job ID Ran Files Coverage
1 run-pypy3.11-windows-latest - 42627379187.1 09 Nov 2026 01:48PM UTC 81
81.58
GitHub Action Run
2 run-3.13t-ubuntu-latest - 42627379187.2 09 Nov 2026 01:46PM UTC 81
91.66
GitHub Action Run
3 run-3.15t-windows-latest - 42627379187.3 09 Nov 2026 01:44PM UTC 81
81.68
GitHub Action Run
4 run-3.15t-ubuntu-latest - 42627379187.4 09 Nov 2026 01:41PM UTC 81
91.66
GitHub Action Run
5 run-3.14-windows-latest - 42627379187.5 09 Nov 2026 01:42PM UTC 81
82.21
GitHub Action Run
6 run-pypy3.11-ubuntu-latest - 42627379187.6 09 Nov 2026 01:43PM UTC 81
91.26
GitHub Action Run
7 run-3.13-ubuntu-latest - 42627379187.7 09 Nov 2026 01:40PM UTC 81
92.27
GitHub Action Run
8 run-3.14t-ubuntu-latest - 42627379187.8 09 Nov 2026 01:41PM UTC 81
91.66
GitHub Action Run
9 run-3.11-windows-latest - 42627379187.9 09 Nov 2026 01:42PM UTC 81
82.23
GitHub Action Run
10 run-3.12-ubuntu-latest - 42627379187.10 09 Nov 2026 01:41PM UTC 81
92.27
GitHub Action Run
11 run-3.12-windows-latest - 42627379187.11 09 Nov 2026 01:42PM UTC 81
82.19
GitHub Action Run
12 run-3.13-windows-latest - 42627379187.12 09 Nov 2026 01:42PM UTC 81
82.21
GitHub Action Run
13 run-3.14-ubuntu-latest - 42627379187.13 09 Nov 2026 01:40PM UTC 81
92.27
GitHub Action Run
14 run-3.15-ubuntu-latest - 42627379187.14 09 Nov 2026 01:40PM UTC 81
92.27
GitHub Action Run
15 run-3.14t-windows-latest - 42627379187.15 09 Nov 2026 01:43PM UTC 81
81.66
GitHub Action Run
16 run-3.11-ubuntu-latest - 42627379187.16 09 Nov 2026 01:41PM UTC 81
92.29
GitHub Action Run
17 run-3.15-windows-latest - 42627379187.17 09 Nov 2026 01:43PM UTC 81
81.68
GitHub Action Run
Source Files on build 42627379187
  • Tree
  • List 81
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42627379187
  • 871e19ad on github
  • Prev Build on master (#42604665126)
  • Next Build on master (#42647850718)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc