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

collective / icalendar / 25792534587
98%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 10:11AM UTC
Jobs 7
Files 228
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 May 2026 10:09AM UTC coverage: 97.775% (+0.001%) from 97.774%
25792534587

push

github

web-flow
Add `vWeekday.ical_value` for the `Component.decoded()` polymorphy (#1360)

* Add `vWeekday.ical_value` for the `Component.decoded()` polymorphy

Refs #876.

Adds the `ical_value` property to `vWeekday`, returning the weekday
string (e.g. ``MO``, ``+2TH``, ``-1SU``). This continues the polymorphy
work tracked in #876, matching the pattern already established for
`vText`, `vUri`, `vInt`, `vFloat`, `vBoolean`, `vBinary`, `vCalAddress`,
and friends -- each value class exposes its underlying Python value via
`ical_value` so `Component.decoded()` can stop dispatching on type.

Test added alongside the existing `test_vWeekday` cases:

  >>> vWeekday("MO").ical_value
  'MO'
  >>> vWeekday("+2TH").ical_value
  '+2TH'
  >>> vWeekday("-1SU").ical_value
  '-1SU'

`pytest src/icalendar/tests/prop/test_vWeekday.py` now passes 5 tests
(was 4).

* docs(weekday): apply review suggestions and add changelog entry

- Replace Latin abbreviation in vWeekday.ical_value docstring with
  explicit examples (MO, +2TH, -1SU) per @stevepiercy.
- Convert the RFC reference to a Sphinx Napolean See Also: section
  per @stevepiercy.
- Add a New features changelog entry for 7.1.1 (unreleased) mirroring
  the vBoolean.ical_value entry from 7.1.0.

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Steve Piercy <web@stevepiercy.com>

748 of 770 branches covered (97.14%)

Branch coverage included in aggregate %.

8 of 8 new or added lines in 2 files covered. (100.0%)

12348 of 12624 relevant lines covered (97.81%)

6.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-pypy3 - 25792534587.1 13 May 2026 10:24AM UTC 228
97.73
GitHub Action Run
2 run-3.12 - 25792534587.2 13 May 2026 10:12AM UTC 228
97.73
GitHub Action Run
3 run-3.11 - 25792534587.3 13 May 2026 10:12AM UTC 228
97.73
GitHub Action Run
4 run-3.10 (nopytz) - 25792534587.4 13 May 2026 10:12AM UTC 228
97.78
GitHub Action Run
5 run-3.13 - 25792534587.5 13 May 2026 10:12AM UTC 228
97.73
GitHub Action Run
6 run-3.14 - 25792534587.6 13 May 2026 10:11AM UTC 228
97.72
GitHub Action Run
7 run-3.10 - 25792534587.7 13 May 2026 10:12AM UTC 228
97.78
GitHub Action Run
Source Files on build 25792534587
  • Tree
  • List 228
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25792534587
  • 66fb3e16 on github
  • Prev Build on main (#25791561251)
  • Next Build on main (#25953752400)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc