cpython: 41a4c55db7f2 (original) (raw)

--- a/Lib/test/test_strftime.py +++ b/Lib/test/test_strftime.py @@ -177,5 +177,31 @@ class StrftimeTest(unittest.TestCase): print(" Expected %s, but got %s" % (e[1], result)) +class Y1900Tests(unittest.TestCase):

+

+

+

+

+ +def test_main():

+ if name == 'main': unittest.main()

--- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -642,6 +642,13 @@ time_strftime(PyObject *self, PyObject * Py_DECREF(format); return NULL; }

#endif