Index: Lib/test/test_strptime.py =================================================================== --- Lib/test/test_strptime.py (revision 61683) +++ Lib/test/test_strptime.py (working copy) @@ -369,8 +369,9 @@ "strptime does not handle capword names properly") def test_defaults(self): - # Default return value should be (1900, 1, 1, 0, 0, 0, 0, 1, 0) - defaults = (1900, 1, 1, 0, 0, 0, 0, 1, -1) + newyearsday = datetime_date(datetime_date.today().year, 1, 1) + # Default return value should be (newyearsday.year, 1, 1, 0, 0, 0, newyearsday.weekday(), 1, 0) + defaults = (newyearsday.year, 1, 1, 0, 0, 0, newyearsday.weekday(), 1, -1) strp_output = _strptime._strptime_time('1', '%m') self.failUnless(strp_output == defaults, "Default values for strptime() are incorrect;"