]> granicus.if.org Git - python/commit
bpo-31234: Join threads in test_hashlib (#3573)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 14 Sep 2017 15:43:22 +0000 (08:43 -0700)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2017 15:43:22 +0000 (08:43 -0700)
commit8dcf22f442320e4c1a5408e67b4c9002ad105f17
tree4bb67ff1ff3d507db3e9a20d72e2e162fb32e205
parent18e95b4176256f100429a806d0455406df98f984
bpo-31234: Join threads in test_hashlib (#3573)

* bpo-31234: Join threads in test_hashlib

Use thread.join() to wait until the parallel hash tasks complete
rather than using events. Calling thread.join() prevent "dangling
thread" warnings.

* test_hashlib: minor PEP 8 coding style fixes
Lib/test/test_hashlib.py