1. 23 Jun, 2018 2 commits
  2. 22 Jun, 2018 1 commit
  3. 21 Jun, 2018 1 commit
  4. 20 Jun, 2018 1 commit
  5. 19 Jun, 2018 2 commits
  6. 18 Jun, 2018 1 commit
  7. 16 Jun, 2018 3 commits
  8. 15 Jun, 2018 4 commits
  9. 13 Jun, 2018 2 commits
  10. 11 Jun, 2018 1 commit
  11. 10 Jun, 2018 1 commit
  12. 09 Jun, 2018 5 commits
  13. 08 Jun, 2018 1 commit
  14. 06 Jun, 2018 6 commits
  15. 05 Jun, 2018 4 commits
  16. 04 Jun, 2018 5 commits
    • Victor Stinner's avatar
      bpo-18174: Fix file descriptor leaks in tests (GH-7408) · 27058190
      Victor Stinner authored
      * test_tempfile.test_no_leak_fd() mocks os.close() but it doesn't
        call the original os.close() method and so leaks an open file
        descriptor. Fix the test by calling the original os.close()
        function.
      * test_posix.test_fdopen_directory(): close the directory file
        descriptor when the test completes.
      27058190
    • Victor Stinner's avatar
      [2.7] bpo-31234: Join threads explicitly in tests (#7406) · 14635186
      Victor Stinner authored
      * Add support.wait_threads_exit(): context manager looping at exit
        until the number of threads decreases to its original number.
      * Add some missing thread.join()
      * test_asyncore.test_send(): call explicitly t.join() because the cleanup
        function is only called outside the test method, whereas the method
        has a @test_support.reap_threads decorator
      * test_hashlib: replace threading.Event with thread.join()
      * test_thread:
      
        * Use wait_threads_exit() context manager
        * Replace test_support with support
        * test_forkinthread(): check child process exit status in the
          main thread to better handle error.
      14635186
    • Victor Stinner's avatar
      test_tools: catch stderr (GH-7404) · fadcd445
      Victor Stinner authored
      Hide "recursedown('@test_9296_tmp')" message.
      fadcd445
    • Victor Stinner's avatar
      [2.7] bpo-33718: Update regrtest from master (GH-7402) · a30d587e
      Victor Stinner authored
      Backport manually regrtest enhancements from master:
      
      * No longer clear filters, like --match, to re-run failed tests in
        verbose mode (-w option).
      * Tests result: always indicate if tests have been interrupted.
      * Enhance tests summary
      * After failing tests are re-run, display again the summary.
      * Add environment_altered to test.support, but it's currently unused
      * regrtest: count also ENV_CHANGED as failures
      * regrtest: Enhance format_duration()
      * Replace test_support with support
      a30d587e
    • Miss Islington (bot)'s avatar
      bpo-27902: Add compatibility note to Profile docs (GH-7295) · 134bb46d
      Miss Islington (bot) authored
      (cherry picked from commit f7745e1d)
      Co-authored-by: default avatarTobias Kunze <r@rixx.de>
      134bb46d