[Python-checkins] [python/cpython] 5de85a: bpo-29972: Skip tests known to fail on AIX (#979)

GitHub noreply at github.com
Tue Apr 4 04:35:17 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 5de85a17029356084b96db63e04d9eb150efd9c0
      https://github.com/python/cpython/commit/5de85a17029356084b96db63e04d9eb150efd9c0
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-04-04 (Tue, 04 Apr 2017)

  Changed paths:
    M Lib/test/eintrdata/eintr_tester.py
    M Lib/test/test_locale.py
    M Lib/test/test_socket.py
    M Lib/test/test_strptime.py
    M Lib/test/test_tools/test_i18n.py

  Log Message:
  -----------
  bpo-29972: Skip tests known to fail on AIX (#979)

* bpo-29972: Fix test_eintr on AIX

On AIX, sigtimedwait(0.2) sleeps 199.8 ms, whereas the test expects
200 ms or longer.

* bpo-29972: Skip some inet_pton() tests on AIX

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.

* bpo-29972: Skip tests known to fail on AIX

* 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()




More information about the Python-checkins mailing list