Skip to content

Commit f7da77d

Browse files
committed
pythongh-109974: Fix more threading lock_tests race conditions
* Add context manager on Bunch class. * Bunch now catchs exceptions on executed functions and re-raise them at __exit__() as an ExceptionGroup. * Rewrite BarrierProxy.test_default_timeout(). Use a single thread. Only check that barrier.wait() blocks for at least default timeout seconds.
1 parent 05079d9 commit f7da77d

File tree

1 file changed

+219
-209
lines changed

1 file changed

+219
-209
lines changed

0 commit comments

Comments
 (0)