[issue9361] Tests for leapdays in calendar.py module

2010-12-31 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I just tried John's patch, and: - it still applies without problem (except for a bit of offset) - I can confirm that it actually adds test coverage for leapdays() function (bringing calendar coverage from 71% to 72%). I think it would be

[issue9361] Tests for leapdays in calendar.py module

2010-12-31 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Applied in r87590. I threw in an extra test for a multi-leapyear-range. Since there was no reason not to, I backported it to 3.1 in r87591 and 2.7 in r87592. In the latter two commits I also backported the issue 9342 patch. Thanks

[issue9361] Tests for leapdays in calendar.py module

2010-07-23 Thread John Chandler
New submission from John Chandler therealmetal...@gmail.com: Hi, Attaching a patch for the test_calendar.py file. Adds four tests to provide coverage of the leapdays() function. John -- components: Tests files: test_calendar.diff keywords: patch messages: 111373 nosy: John.Chandler