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

penguinolog / urwid / 43467036603
94%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2026 04:53PM 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

13 Nov 2026 04:42PM UTC coverage: 93.824% (+0.01%) from 93.813%
43467036603

push

github

web-flow
Accept relative, pack and aligned pop-up sizes (#1652)

* Accept relative, pack and aligned pop-up sizes

set_pop_up() raised TypeError for any size that was not an int, so the
relative sizes that worked up to 4.0.12 crashed.

- An invalid size or position now raises CanvasError naming what was passed.
- A size can be cells, ("relative", percentage) with an int or float
  percentage, or "pack" for the size of the pop-up widget itself.
- left and top can be an alignment inside the whole PopUpTarget, applied once
  the size is known, so a packed dialog can be centred.
- PopUpTarget resolves relative and pack sizes before anchor placement; a
  packed widget without box sizing is shown through a top-aligned Filler, so
  rows that do not fit are cut off instead of covering the anchor rows.
- The calc theme pop-up uses a pack height instead of counting its rows.

The validation, the size resolution and their docstrings share the same
lines, so the fix and the new forms are one commit.

* Map Filler clicks to rows shown after cursor trim

Filler.render trims the top of a flow body taller than the box so that the
cursor row stays visible, but mouse_event and move_cursor_to_coords passed
the row on unshifted, so a click on a shown row reached a row above it.

- Both now add the rows render trimmed, computed by the same function.
- A packed pop-up that is cut off is shown through such a Filler, so a click
  in it now reaches the item it shows.

* Test packed pop-up reuse, nesting and alignment

7156 of 7826 branches covered (91.44%)

Branch coverage included in aggregate %.

87 of 90 new or added lines in 3 files covered. (96.67%)

214 existing lines in 7 files now uncovered.

18443 of 19458 relevant lines covered (94.78%)

15.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
95.42
-1.62% urwid/widget/popup.py

Coverage Regressions

Lines Coverage ∆ File
68
69.25
1.88% urwid/display/web.py
64
60.32
0.29% urwid/display/curses.py
33
84.5
0.4% urwid/display/_posix_raw_display.py
25
91.75
-0.06% urwid/vterm.py
17
87.07
-0.07% urwid/widget/widget.py
6
98.78
0.03% urwid/widget/table.py
1
98.39
0.0% urwid/event_loop/asyncio_loop.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.13t-ubuntu-latest - 43467036603.1 13 Nov 2026 04:59PM UTC 81
91.92
GitHub Action Run
2 run-3.15-windows-latest - 43467036603.2 13 Nov 2026 04:56PM UTC 81
81.45
GitHub Action Run
3 run-3.14-windows-latest - 43467036603.3 13 Nov 2026 04:55PM UTC 81
82.28
GitHub Action Run
4 run-3.15t-windows-latest - 43467036603.4 13 Nov 2026 04:57PM UTC 81
81.45
GitHub Action Run
5 run-3.11-ubuntu-latest - 43467036603.5 13 Nov 2026 04:53PM UTC 81
92.52
GitHub Action Run
6 run-3.13-windows-latest - 43467036603.6 13 Nov 2026 04:55PM UTC 81
82.27
GitHub Action Run
7 run-3.15t-ubuntu-latest - 43467036603.7 13 Nov 2026 04:54PM UTC 81
91.92
GitHub Action Run
8 run-3.12-ubuntu-latest - 43467036603.8 13 Nov 2026 04:54PM UTC 81
92.5
GitHub Action Run
9 run-3.15-ubuntu-latest - 43467036603.9 13 Nov 2026 04:53PM UTC 81
92.5
GitHub Action Run
10 run-3.12-windows-latest - 43467036603.10 13 Nov 2026 04:55PM UTC 81
82.27
GitHub Action Run
11 run-3.14-ubuntu-latest - 43467036603.11 13 Nov 2026 04:53PM UTC 81
92.5
GitHub Action Run
12 run-3.13-ubuntu-latest - 43467036603.12 13 Nov 2026 04:53PM UTC 81
92.5
GitHub Action Run
13 run-3.11-windows-latest - 43467036603.13 13 Nov 2026 04:55PM UTC 81
82.3
GitHub Action Run
14 run-pypy3.11-windows-latest - 43467036603.14 13 Nov 2026 05:02PM UTC 81
81.36
GitHub Action Run
15 run-3.14t-ubuntu-latest - 43467036603.15 13 Nov 2026 04:54PM UTC 81
91.92
GitHub Action Run
16 run-pypy3.11-ubuntu-latest - 43467036603.16 13 Nov 2026 04:57PM UTC 81
91.55
GitHub Action Run
17 run-3.14t-windows-latest - 43467036603.17 13 Nov 2026 04:57PM UTC 81
81.45
GitHub Action Run
Source Files on build 43467036603
  • Tree
  • List 81
  • Changed 18
  • Source Changed 17
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43467036603
  • 47444f15 on github
  • Prev Build on master (#43218109782)
  • 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