1. 29 Jul, 2017 2 commits
  2. 28 Jul, 2017 8 commits
  3. 27 Jul, 2017 6 commits
  4. 26 Jul, 2017 8 commits
  5. 25 Jul, 2017 8 commits
  6. 24 Jul, 2017 8 commits
    • Victor Stinner's avatar
      test_multiprocessing detects dangling per test case (#2841) · ffb49408
      Victor Stinner authored
      bpo-26762: test_multiprocessing now detects dangling processes and
      threads per test case classes:
      
      * setUpClass()/tearDownClass() of mixin classes now check if
        multiprocessing.process._dangling or threading._dangling was
        modified to detect "dangling" processses and threads.
      * ManagerMixin.tearDownClass() now also emits a warning if it still
        has more than one active child process after 5 seconds.
      * tearDownModule() now checks for dangling processes and threads
        before sleep 500 ms. And it now only sleeps if there is a least one
        dangling process or thread.
      ffb49408
    • Victor Stinner's avatar
      test_multiprocessing: Fix dangling process/thread (#2850) · d7e64d99
      Victor Stinner authored
      bpo-26762: Fix more dangling processes and threads in
      test_multiprocessing:
      
      * Queue: call close() followed by join_thread()
      * Process: call join() or self.addCleanup(p.join)
      d7e64d99
    • waxmoon's avatar
      Minor typo in curses.rst (#2763) · d439d3e2
      waxmoon authored
      I found a tiny typo in the curses how-to: changed 'Thy' to 'The' on line 68.
      d439d3e2
    • Nir Soffer's avatar
      bpo-30980: Fix double close in asyncore.file_wrapper (#2789) · c648a93a
      Nir Soffer authored
      * bpo-30980: Fix close test to fail
      
      test_close_twice was not considering the fact that file_wrapper is
      duping the file descriptor. Closing the original descriptor left the
      duped one open, hiding the fact that close protection is not effective.
      
      * bpo-30980: Fix double close protection
      
      Invalidated self.fd before closing, handling correctly the case when
      os.close raises.
      
      * bpo-30980: Fix fd leak introduced in the fixed test
      c648a93a
    • Victor Stinner's avatar
      bpo-30188: test_nntplib catch also ssl.SSLEOFError (#2843) · 5b4feb7e
      Victor Stinner authored
      Catch also ssl.SSLEOFError in NetworkedNNTPTests setUpClass().
      EOFError was already catched.
      5b4feb7e
    • Victor Stinner's avatar
      bpo-26762: Avoid daemon process in _test_multiprocessing (#2842) · 06634950
      Victor Stinner authored
      test_level() of _test_multiprocessing._TestLogging now uses regular
      processes rather than daemon processes to prevent zombi processes
      (to not "leak" processes).
      06634950
    • Ned Deily's avatar
      b364d9f9
    • Terry Jan Reedy's avatar
      bpo-30993: IDLE - Improve configdialog font page and tests. (#2831) · 77e97ca9
      Terry Jan Reedy authored
      In configdialog: Document causal pathways in create_font_tab docstring.  Simplify some attribute names. Move set_samples calls to var_changed_font (idea from Cheryl Sabella).  Move related functions to positions after the create widgets function.
      
      In test_configdialog: Fix test_font_set so not order dependent.  Fix renamed test_indent_scale so it tests the widget.  Adjust tests for movement of set_samples call.  Add tests for load functions.  Put all font tests in one class and tab indent tests in another.  Except for two lines, these tests completely cover the related functions.
      77e97ca9