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

PyCalendar / icalendar / 45092347219
98%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2026 01:04AM UTC
Jobs 7
Files 328
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

23 Nov 2026 01:03AM UTC coverage: 98.008%. Remained the same
45092347219

push

github

web-flow
fix(prop): reject a zero-length period (#2103)

* fix(prop): reject a zero-length period

vPeriod raised ValueError only when the start came after the end, so a
period whose end equaled its start - written either as two equal
date-times or as a zero duration - was accepted and serialized back out.
RFC 5545 section 3.3.9 requires the end of a period to come after its
start, so a period with no length is as invalid as a reversed one.

Reject start == end with the same ValueError the reversed case gets. The
message now says the start is not before the end, which covers both
cases, and the one test matching the old message is updated.

Fixes #2087

Co-authored-by: rahul05ranjan <11793455+rahul05ranjan@users.noreply.github.com>

* fix(prop): reject a zero duration like a negative one in the xCal path

RFC 5545 section 3.3.9 defines the period-start form with a positive
duration, so a zero duration is as invalid as a negative one. The xCal
parser's check now matches, raising the same "Expected positive
duration" XCalParsingError for P0D, and the xCal test fixtures move the
zero-duration specs from the valid round-trip lists to the invalid ones,
where they already belonged: the constructor's start >= end rejection
from the previous commit caught them first.

Co-authored-by: rahul05ranjan <11793455+rahul05ranjan@users.noreply.github.com>

* docs(news): add GitHub handle to news/2087.bugfix

Co-authored-by: rahul05ranjan <11793455+rahul05ranjan@users.noreply.github.com>

* docs(news): use the new :user: role in news/2087.bugfix

Apply stevepiercy's suggestion from the review: the changelog now
links the author with the new :user: role instead of a plain handle.

Co-authored-by: rahul05ranjan <11793455+rahul05ranjan@users.noreply.github.com>

---------

Co-authored-by: Rahul Ranjan <11793455+rahul05ranjan@users.noreply.github.com>
Co-authored-by: Steve Piercy <web@stevepiercy.com>

2143 of 2298 branches covered (93.26%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 3 files covered. (100.0%)

19459 of 19743 relevant lines covered (98.56%)

6.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-pypy3 - 45092347219.1 23 Nov 2026 01:26AM UTC 328
97.97
GitHub Action Run
2 run-3.14 - 45092347219.2 23 Nov 2026 01:04AM UTC 328
97.97
GitHub Action Run
3 run-3.13 - 45092347219.3 23 Nov 2026 01:05AM UTC 328
97.97
GitHub Action Run
4 run-3.10 - 45092347219.4 23 Nov 2026 01:07AM UTC 328
97.98
GitHub Action Run
5 run-3.10 (nopytz) - 45092347219.5 23 Nov 2026 01:06AM UTC 328
97.98
GitHub Action Run
6 run-3.11 - 45092347219.6 23 Nov 2026 01:05AM UTC 328
97.97
GitHub Action Run
7 run-3.12 - 45092347219.7 23 Nov 2026 01:06AM UTC 328
97.97
GitHub Action Run
Source Files on build 45092347219
  • Tree
  • List 328
  • Changed 4
  • Source Changed 4
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45092347219
  • a8aaee0f on github
  • Prev Build on main (#45091280954)
  • Next Build on main (#45165612153)
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