New submission from jiahua wang <wjh180...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue46484> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com