New submission from Madison May: Just redirected stdout to a string io object unittest.mock.patch() to add basic test coverage for calendar.py print functions (TextCalendary.prweek(), TextCalendar.prmonth(), TextCalendar.pryear(), and format()).
---------- components: Tests files: calendar_print.diff keywords: patch messages: 196311 nosy: madison.may priority: normal severity: normal status: open title: Added test coverage for calendar print functions type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file31487/calendar_print.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18856> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com