~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5247.2.3.

join(timeout=0) is useful to check for an exception without stopping the thread.

* bzrlib/tests/test_server.py:
(ThreadWithException.join): Document the timeout=0 idiom.

* bzrlib/tests/test_transport.py:
(TestThreadWithException.test_exception_is_re_raised): Ensure
join(timeout=0) can be called while leaving the thread running

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: