Backport fix for bug #1643943.

This commit is contained in:
Brett Cannon 2007-01-25 23:22:24 +00:00
parent 817b489422
commit 6d8e5ad09d
3 changed files with 36 additions and 31 deletions

View file

@ -463,6 +463,10 @@ class CalculationTests(unittest.TestCase):
"of the year")
test_helper((1917, 12, 31), "Dec 31 on Monday with year starting and "
"ending on Monday")
test_helper((2007, 01, 07), "First Sunday of 2007")
test_helper((2007, 01, 14), "Second Sunday of 2007")
test_helper((2006, 12, 31), "Last Sunday of 2006")
test_helper((2006, 12, 24), "Second to last Sunday of 2006")
class CacheTests(unittest.TestCase):