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

urwid / urwid / 38368952571
90%

Build:
DEFAULT BRANCH: master
Ran 13 Oct 2026 08:24AM UTC
Jobs 17
Files 68
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 Oct 2026 08:23AM UTC coverage: 89.154% (-0.005%) from 89.159%
38368952571

push

github

web-flow
Log and survive exceptions raised by alarm callbacks (#1418)

* Log and survive exceptions raised by alarm callbacks

A callback registered through set_alarm_in/set_alarm_at with the
wrong signature (or one that raises for any other reason) let the
exception escape run(), tearing down the whole application with a
traceback pointing at urwid internals rather than the offending
callback.

Wrap the alarm callback in _make_alarm_callback: exceptions are
logged with their traceback naming the callback, and the loop keeps
running. ExitMainLoop is re-raised so alarms can still exit the
loop, and the async def variant is wrapped identically. The
set_alarm_in/set_alarm_at docstrings now document the behavior.

Fixes #1269

Signed-off-by: Charan Rathore <180254320+charan-rathore@users.noreply.github.com>

* Spell out the alarm callback signature in the set_alarm_in docstring

Signed-off-by: Charan Rathore <180254320+charan-rathore@users.noreply.github.com>

---------

Signed-off-by: Charan Rathore <180254320+charan-rathore@users.noreply.github.com>

4760 of 5524 branches covered (86.17%)

Branch coverage included in aggregate %.

10 of 12 new or added lines in 1 file covered. (83.33%)

12017 of 13294 relevant lines covered (90.39%)

14.26 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.67
-0.53% urwid/event_loop/main_loop.py
Jobs
ID Job ID Ran Files Coverage
1 run-pypy3.11-ubuntu-latest - 38368952571.1 13 Oct 2026 08:27AM UTC 68
86.6
GitHub Action Run
2 run-3.11-windows-latest - 38368952571.2 13 Oct 2026 08:26AM UTC 68
77.74
GitHub Action Run
3 run-3.13t-ubuntu-latest - 38368952571.3 13 Oct 2026 08:26AM UTC 68
87.15
GitHub Action Run
4 run-3.15-windows-latest - 38368952571.4 13 Oct 2026 08:27AM UTC 68
77.37
GitHub Action Run
5 run-3.15t-windows-latest - 38368952571.5 13 Oct 2026 08:27AM UTC 68
77.37
GitHub Action Run
6 run-3.12-windows-latest - 38368952571.6 13 Oct 2026 08:26AM UTC 68
77.74
GitHub Action Run
7 run-pypy3.11-windows-latest - 38368952571.7 13 Oct 2026 08:29AM UTC 68
77.23
GitHub Action Run
8 run-3.13-ubuntu-latest - 38368952571.8 13 Oct 2026 08:24AM UTC 68
87.95
GitHub Action Run
9 run-3.13-windows-latest - 38368952571.9 13 Oct 2026 08:26AM UTC 68
77.74
GitHub Action Run
10 run-3.14-windows-latest - 38368952571.10 13 Oct 2026 08:26AM UTC 68
77.74
GitHub Action Run
11 run-3.14t-windows-latest - 38368952571.11 13 Oct 2026 08:27AM UTC 68
77.37
GitHub Action Run
12 run-3.11-ubuntu-latest - 38368952571.12 13 Oct 2026 08:25AM UTC 68
87.95
GitHub Action Run
13 run-3.15t-ubuntu-latest - 38368952571.13 13 Oct 2026 08:25AM UTC 68
87.15
GitHub Action Run
14 run-3.12-ubuntu-latest - 38368952571.14 13 Oct 2026 08:24AM UTC 68
87.95
GitHub Action Run
15 run-3.14-ubuntu-latest - 38368952571.15 13 Oct 2026 08:24AM UTC 68
87.95
GitHub Action Run
16 run-3.15-ubuntu-latest - 38368952571.16 13 Oct 2026 08:24AM UTC 68
87.95
GitHub Action Run
17 run-3.14t-ubuntu-latest - 38368952571.17 13 Oct 2026 08:25AM UTC 68
87.15
GitHub Action Run
Source Files on build 38368952571
  • Tree
  • List 68
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38368952571
  • b2c8404e on github
  • Prev Build on master (#38259376775)
  • Next Build on master (#38409252307)
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