def test_y_before_1900(self):
# Issue #13674, #19634
t = (1899, 1, 1, 0, 0, 0, 0, 0, 0)
- if (sys.platform == "win32"
- or sys.platform.startswith(("aix", "sunos", "solaris"))):
+ if sys.platform.startswith(("aix", "sunos", "solaris")):
with self.assertRaises(ValueError):
time.strftime("%y", t)
else:
return 1;
}
-#ifdef MS_WINDOWS
- /* wcsftime() doesn't format correctly time zones, see issue #10653 */
-# undef HAVE_WCSFTIME
-#endif
#define STRFTIME_FORMAT_CODES \
"Commonly used format codes:\n\
\n\