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

penguinolog / urwid / 42647850718
94%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 03:46PM 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 03:43PM UTC coverage: 93.555% (+0.004%) from 93.551%
42647850718

push

github

web-flow
Add Table.set_focus(coming_from=) and unfocused_focus_attr_func (#1615)

* Add Table.set_focus(position, coming_from=)

focus_position cannot say from which side the focus arrives, so a jump in
a Table could not scroll the way ListBox.set_focus(position, coming_from)
does.

- Table.set_focus validates the position and passes coming_from to the
  table's ListBox; the focus_position setter calls it.
- A ListBox test pins the nested-focus contract for set_focus that the
  Table test relies on.

(cherry picked from commit e710716d5)

* Add unfocused_focus_attr_func to the marking containers

A fixed unfocused_focus_attr cannot follow children that carry their own
focus maps, so a caller had to recompute the map before every render.

- Pile, Columns, GridFlow, ListBox, Tabs and Table take a keyword-only
  unfocused_focus_attr_func, called with the focus child (the selected
  label for Tabs, the TableRow for Table).
- A map it returns replaces unfocused_focus_attr for that child; on None
  the fixed map applies.
- It is a parameter of its own because a function is hashable and is
  already a valid attribute for unfocused_focus_attr.
- Tabs resolves the map once per bar, so the label and the underline agree.
- The manual shows a function that follows an AttrMap's focus map, and
  its limit.

(cherry picked from commit 87a591884)

6873 of 7532 branches covered (91.25%)

Branch coverage included in aggregate %.

39 of 39 new or added lines in 7 files covered. (100.0%)

42 existing lines in 5 files now uncovered.

17716 of 18751 relevant lines covered (94.48%)

14.98 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
96.28
0.0% urwid/widget/columns.py
11
95.13
0.01% urwid/widget/pile.py
6
98.49
0.01% urwid/widget/tabs.py
6
98.74
0.01% urwid/widget/table.py
4
97.1
-0.56% urwid/widget/container.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.14-windows-latest - 42647850718.1 09 Nov 2026 03:48PM UTC 81
82.24
GitHub Action Run
2 run-3.15t-windows-latest - 42647850718.2 09 Nov 2026 03:50PM UTC 81
81.69
GitHub Action Run
3 run-3.14t-ubuntu-latest - 42647850718.3 09 Nov 2026 03:47PM UTC 81
91.67
GitHub Action Run
4 run-pypy3.11-ubuntu-latest - 42647850718.4 09 Nov 2026 03:50PM UTC 81
91.27
GitHub Action Run
5 run-3.14t-windows-latest - 42647850718.5 09 Nov 2026 03:50PM UTC 81
81.71
GitHub Action Run
6 run-3.13t-ubuntu-latest - 42647850718.6 09 Nov 2026 03:50PM UTC 81
91.66
GitHub Action Run
7 run-3.11-windows-latest - 42647850718.7 09 Nov 2026 03:48PM UTC 81
82.26
GitHub Action Run
8 run-3.15t-ubuntu-latest - 42647850718.8 09 Nov 2026 03:47PM UTC 81
91.67
GitHub Action Run
9 run-pypy3.11-windows-latest - 42647850718.9 09 Nov 2026 03:53PM UTC 81
81.61
GitHub Action Run
10 run-3.13-ubuntu-latest - 42647850718.10 09 Nov 2026 03:46PM UTC 81
92.27
GitHub Action Run
11 run-3.13-windows-latest - 42647850718.11 09 Nov 2026 03:48PM UTC 81
82.23
GitHub Action Run
12 run-3.15-windows-latest - 42647850718.12 09 Nov 2026 03:49PM UTC 81
81.71
GitHub Action Run
13 run-3.12-windows-latest - 42647850718.13 09 Nov 2026 03:49PM UTC 81
82.21
GitHub Action Run
14 run-3.14-ubuntu-latest - 42647850718.14 09 Nov 2026 03:46PM UTC 81
92.28
GitHub Action Run
15 run-3.12-ubuntu-latest - 42647850718.15 09 Nov 2026 03:47PM UTC 81
92.27
GitHub Action Run
16 run-3.11-ubuntu-latest - 42647850718.16 09 Nov 2026 03:47PM UTC 81
92.3
GitHub Action Run
17 run-3.15-ubuntu-latest - 42647850718.17 09 Nov 2026 03:46PM UTC 81
92.28
GitHub Action Run
Source Files on build 42647850718
  • Tree
  • List 81
  • Changed 8
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42647850718
  • d9618c22 on github
  • Prev Build on master (#42627379187)
  • Next Build on master (#42774293322)
  • 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