-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-29972: Skip tests known to fail on AIX #979
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
Conversation
On AIX, sigtimedwait(0.2) sleeps 199.8 ms, whereas the test expects 200 ms or longer.
@edelsohn: Can you please try this change on AIX? (I'm unable to test my change.) |
Skip some inet_pton() tests of test_socket on AIX. inet_pton() on AIX is less strict than on Linux and doesn't reject some invalid IP addresses. The unit tests test more the libc than Python itself.
(Oops, I forgot some "import sys", it should now be fixed.) |
With the patches, test_eintr succeed. test_socket fails withFAIL: testIPv6toString (test.test_socket.GeneralModuleTests)Traceback (most recent call last): with a similar guard for the '1:2:3:4:5:6:7:8:' test, it succeeds. test_tools fails because test_tools/test_i18n.py needs to import sys. With that change, it succeeds. |
Lib/test/test_socket.py
Outdated
assertInvalid('1:2:3:4:5:6:') | ||
# bpo-29972: inet_pton() doesn't fail on AIX | ||
if not sys.platform.startswith('aix'): | ||
assertInvalid('1:2:3:4:5:6:') | ||
assertInvalid('1:2:3:4:5:6') | ||
assertInvalid('1:2:3:4:5:6:7:8:') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'1:2:3:4:5:6:7:8:' needs to be guarded on AIX also.
* test_locale.test_strcoll_with_diacritic() * test_locale.test_strxfrm_with_diacritic() * test_strptime.test_week_of_year_and_day_of_week_calculation() * test_tools.test_POT_Creation_Date()
I already added "import sys" to test_tools/test_i18n.py, maybe you picked the old version of my PR?
Ok, done. Can you please test again? |
Yes, if with that additional one skipped, it passes.
Thanks David
…On Mon, Apr 3, 2017 at 5:23 PM, Victor Stinner ***@***.***> wrote:
I already added "import sys" to test_tools/test_i18n.py, maybe you picked
the old version of my PR?
'1:2:3:4:5:6:7:8:' needs to be guarded on AIX also.
Ok, done. Can you please test again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#979 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAowNKjvGmCtIvqFGKMQ8fQAOoWY5VLLks5rsWNQgaJpZM4Mxsms>
.
|
Ok, I merged this first changes to fix (skip) a few unit tests on the AIX buildbot. |
See http://bugs.python.org/issue29972 for more information.