]> granicus.if.org Git - python/commit
bpo-30830: test_logging uses threading_setup/cleanup (#3137)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 18 Aug 2017 21:47:54 +0000 (23:47 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Aug 2017 21:47:54 +0000 (23:47 +0200)
commit6966960468327c958b03391f71f24986bd697307
treef9bde4ec810d3efc9f3000ccc5f430b0a0eaa3d9
parent93d0cb58b4da2a88c56f472c6c19491cc7a390df
bpo-30830: test_logging uses threading_setup/cleanup (#3137)

* bpo-30830: test_logging uses threading_setup/cleanup

Replace @support.reap_threads on some methods with
support.threading_setup() in setUp() and support.threading_cleanup()
in tearDown() in BaseTest.

* bpo-30830: test_logging disables threaded socketserver tests

Disable tests because of socketserver.ThreadingMixIn leaks threads,
whereas leaking threads now makes a test to fail on buildbots.

Disable tests until socketserver is fixed: bpo-31233.

* Skip also setup_via_listener()
Lib/test/test_logging.py