• Kirill Smelkov's avatar
    sync.WorkGroup: Propagate all exception types, not only those derived from Exception · 79aab7df
    Kirill Smelkov authored
    A problem was hit with pytest.fail with raises Failed exception not
    being propagated to .wait. As it turned out it was not propagated
    because pytest's Failed derives from BaseException, not Exception, and
    we were catching only Exception and its children.
    
    Rework the code to propagate all exception types from workers.
    
    Performance change is with noise (it is either a bit faster for one set
    of runs, or a bit slower for another set of runs).
    79aab7df
Name
Last commit
Last update
golang Loading commit data...
gpython Loading commit data...
.gitignore Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...