This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add test for Calendar().iterweekdays()
Type: Stage: resolved
Components: Tests Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: iritkatriel, miss-islington, wangjiahua
Priority: normal Keywords: patch

Created on 2022-01-23 10:20 by wangjiahua, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30825 merged wangjiahua, 2022-01-23 10:23
PR 32307 merged miss-islington, 2022-04-04 17:17
PR 32308 merged miss-islington, 2022-04-04 17:17
Messages (5)
msg411359 - (view) Author: jiahua wang (wangjiahua) * Date: 2022-01-23 10:20
Apparently there is no test for Calendar().iterweekdays().

wangdeMacBook-Pro :: ~/cpython » grep -R iterweekdays Lib/test/ *
Binary file Lib/test//__pycache__/test_calendar.cpython-311.pyc matches
Doc/library/calendar.rst:   .. method:: iterweekdays()
Binary file Lib/test/__pycache__/test_calendar.cpython-311.pyc matches
Binary file Lib/__pycache__/calendar.cpython-311.pyc matches
Lib/calendar.py:    def iterweekdays(self):
Lib/calendar.py:        return ' '.join(self.formatweekday(i, width) for i in self.iterweekdays())
Lib/calendar.py:        s = ''.join(self.formatweekday(i) for i in self.iterweekdays())
msg416679 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-04-04 17:17
New changeset 48269ea9fdbc5804f80962364f95e69097c417ba by 180909 in branch 'main':
bpo-46484:Add test for Calendar.iterweekdays (GH-30825)
https://github.com/python/cpython/commit/48269ea9fdbc5804f80962364f95e69097c417ba
msg416683 - (view) Author: miss-islington (miss-islington) Date: 2022-04-04 17:41
New changeset 5b4bc61d897c956c245a907807d0073aaa35f1c3 by Miss Islington (bot) in branch '3.9':
bpo-46484:Add test for Calendar.iterweekdays (GH-30825)
https://github.com/python/cpython/commit/5b4bc61d897c956c245a907807d0073aaa35f1c3
msg416684 - (view) Author: miss-islington (miss-islington) Date: 2022-04-04 17:44
New changeset 6b4b892e0962a7050c5064133c59955691f9776c by Miss Islington (bot) in branch '3.10':
bpo-46484:Add test for Calendar.iterweekdays (GH-30825)
https://github.com/python/cpython/commit/6b4b892e0962a7050c5064133c59955691f9776c
msg416687 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-04-04 17:58
Thank you Jiahua!
History
Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90642
2022-04-04 17:58:35iritkatrielsetstatus: open -> closed
resolution: fixed
messages: + msg416687

stage: patch review -> resolved
2022-04-04 17:44:02miss-islingtonsetmessages: + msg416684
2022-04-04 17:41:54miss-islingtonsetmessages: + msg416683
2022-04-04 17:17:18miss-islingtonsetpull_requests: + pull_request30369
2022-04-04 17:17:13miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request30368
2022-04-04 17:17:04iritkatrielsetnosy: + iritkatriel
messages: + msg416679
2022-01-23 10:23:02wangjiahuasetkeywords: + patch
stage: patch review
pull_requests: + pull_request29012
2022-01-23 10:20:17wangjiahuacreate