[Python-checkins] [python/cpython] f5633e: bpo-30387: Fix warning in test_threading (#1634) (...

GitHub noreply at github.com
Wed May 17 17:49:45 EDT 2017


  Branch: refs/heads/3.5
  Home:   https://github.com/python/cpython
  Commit: f5633e02433a81a6d0f14fc1c3294e752f4ac1a3
      https://github.com/python/cpython/commit/f5633e02433a81a6d0f14fc1c3294e752f4ac1a3
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-05-17 (Wed, 17 May 2017)

  Changed paths:
    M Lib/test/test_threading.py

  Log Message:
  -----------
  bpo-30387: Fix warning in test_threading (#1634) (#1637)

test_is_alive_after_fork() now joins directly the thread to avoid the
following warning added by bpo-30357:

Warning -- threading_cleanup() failed to cleanup 0 threads
after 2 sec (count: 0, dangling: 21)

Use also a different exit code to catch generic exit code 1.
(cherry picked from commit f8d05b3a24e745ab4a974b891ac1389e2f11ce4d)




More information about the Python-checkins mailing list