New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_strftime.test_y_before_1900_nonwin() fails on AIX and Solaris #63833
Comments
The isuse bpo-13674 added tests on strftime() for %y format with year < 1900 on Windows. It looks like AIX doesn't support them. http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/1039/steps/test/logs/stdio ====================================================================== Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_strftime.py", line 193, in test_y_before_1900_nonwin
time.strftime("%y", (1899, 1, 1, 0, 0, 0, 0, 0, 0)), "99")
AssertionError: '0/' != '99'
- 0/
+ 99 |
New changeset fd9ce1d4b820 by Victor Stinner in branch 'default': |
I keep the issue open until the test succeed on AIX. |
New changeset 652de09a3a1a by Victor Stinner in branch 'default': |
Ok, the test passed with the second fix. |
Thanks, guys; I'm afraid I only watched the stable buildbots when I committed - the AIX doesn't seem to be included. |
Oh, the test is failing with the same error on Solaris: ====================================================================== Traceback (most recent call last):
File "/home/cpython/buildslave/cc-32/3.x.snakebite-solaris11-amd64/build/Lib/test/test_strftime.py", line 191, in test_y_before_1900
self.assertEqual(time.strftime("%y", t), "99")
AssertionError: '0/' != '99'
- 0/
+ 99 |
New changeset b7fd5d8e9968 by Victor Stinner in branch 'default': |
I leave the issue open until I see the test passing on Solaris. |
This broke OpenIndiana: ====================================================================== Traceback (most recent call last):
File "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_strftime.py", line 191, in test_y_before_1900
self.assertEqual(time.strftime("%y", t), "99")
ValueError: format %y requires year >= 1900 on AIX |
New changeset e73683514b4d by Victor Stinner in branch 'default': |
test_strftime now pass again on buildbots: OpenIndiana, Solaris, AIX. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: