Message260351
| Author |
beng94 |
| Recipients |
belopolsky, beng94, iaslan, lemburg, serhiy.storchaka |
| Date |
2016年02月16日.07:50:44 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1455609045.03.0.523815940967.issue23718@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Actually there are already test cases, but they test for the wrong behaviour. The very same example is tested there, but the test gives the expected result, so tm_yday = -3. My implementation returns 362, which looks more reasonable. So currently with my patch the test fails.
See the tests here: https://github.com/python/cpython/blob/master/Lib/test/test_strptime.py#L523 |
|