1. 03 May, 2017 6 commits
    • Victor Stinner's avatar
      bpo-30258: regrtest handles child process crash (#1431) · c991eb28
      Victor Stinner authored
      Backport the CHILD_ERROR status from master: a test is considered as
      failed if a worker process running a test exited with a code
      different than zero.
      
      Change also the output: write stdout and stderr of the child process
      after the test name, instead of writing it before.
      
      accumulate_result(): don't use time of CHILD_ERROR or INTERRUPTED
      results.
      c991eb28
    • Victor Stinner's avatar
      test_distutils: use EnvironGuard (#1433) · 15f8d0d3
      Victor Stinner authored
      Use EnvironGuard on InstallTestCase and UtilTestCase.
      
      Backport fixes from master to prevent the following warning:
      
      Warning -- os.environ was modified by test_distutils
      15f8d0d3
    • Victor Stinner's avatar
      Update .gitignore (#1435) · 2b183b87
      Victor Stinner authored
      Ignore more generated files and test data downloaded by tests.
      2b183b87
    • Victor Stinner's avatar
      bpo-30255: Clip step in _PySlice_Unpack() (#1429) · f6a31339
      Victor Stinner authored
      In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX,
      PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX].
      
      (cherry picked from commit e6fc7401)
      f6a31339
    • Victor Stinner's avatar
      regrtest: always show before/after of modified env (#1407) (#1409) · 0d493795
      Victor Stinner authored
      Buildbots don't run tests with -vv and so only log "xxx was modified
      by test_xxx" which is not enough to debug such random issue. In many
      cases, I'm unable to reproduce the warning and so unable to fix it.
      
      Always logging the value before and value after should help to debug
      such warning on buildbots.
      (cherry picked from commit ec4b1723)
      (cherry picked from commit 22982350235f8c5821b71661a5616423e1c7fcc0)
      0d493795
    • Victor Stinner's avatar
      bpo-30199: test_ssl closes all asyncore channels (#1381) (#1408) · d1c862ff
      Victor Stinner authored
      AsyncoreEchoServer of test_ssl now calls
      asyncore.close_all(ignore_all=True) to ensure that
      asyncore.socket_map is cleared once the test completes, even if
      ConnectionHandler was not correctly unregistered.
      
      Fix the following warning:
      
      Warning -- asyncore.socket_map was modified by test_ssl
        Before: {}
        After:  {6: <test.test_ssl.AsyncoreEchoServer.EchoServer.ConnectionHandler>}
      (cherry picked from commit 1dae7450)
      d1c862ff
  2. 02 May, 2017 6 commits
  3. 01 May, 2017 1 commit
  4. 30 Apr, 2017 2 commits
  5. 28 Apr, 2017 3 commits
  6. 27 Apr, 2017 1 commit
  7. 26 Apr, 2017 1 commit
  8. 23 Apr, 2017 1 commit
  9. 21 Apr, 2017 1 commit
  10. 20 Apr, 2017 2 commits
  11. 19 Apr, 2017 3 commits
  12. 16 Apr, 2017 1 commit
  13. 15 Apr, 2017 5 commits
  14. 13 Apr, 2017 1 commit
  15. 12 Apr, 2017 1 commit
  16. 10 Apr, 2017 1 commit
  17. 09 Apr, 2017 3 commits
  18. 08 Apr, 2017 1 commit