[New-bugs-announce] [issue46484] Add test for Calendar().iterweekdays()

jiahua wang report at bugs.python.org
Sun Jan 23 05:20:17 EST 2022


New submission from jiahua wang <wjh180909 at gmail.com>:

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())

----------
components: Tests
messages: 411359
nosy: wangjiahua
priority: normal
severity: normal
status: open
title: Add test for Calendar().iterweekdays()
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46484>
_______________________________________


More information about the New-bugs-announce mailing list