[issue18856] Added test coverage for calendar print functions

2013-09-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 442e23bbec48 by Ezio Melotti in branch '3.3': #18856: improve test coverage of the calendar module. Patch by Madison May. http://hg.python.org/cpython/rev/442e23bbec48 New changeset 81da2ed0c563 by Ezio Melotti in branch 'default': #18856: merge wi

[issue18856] Added test coverage for calendar print functions

2013-09-14 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker

[issue18856] Added test coverage for calendar print functions

2013-09-05 Thread Madison May
Madison May added the comment: At Ezio suggestion, I've updated the patch to use test.support.captured_stdout(). -- Added file: http://bugs.python.org/file31611/calendar_print_v2.diff ___ Python tracker __

[issue18856] Added test coverage for calendar print functions

2013-09-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> patch review versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___

[issue18856] Added test coverage for calendar print functions

2013-08-27 Thread Madison May
Madison May added the comment: "...to a string io object USING unittest.mock.patch()..." -- ___ Python tracker ___ ___ Python-bugs-lis

[issue18856] Added test coverage for calendar print functions

2013-08-27 Thread Madison May
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_pri