summaryrefslogtreecommitdiff
path: root/taskflow/tests/unit/test_exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove sixTakashi Kajinami2022-05-181-4/+0
| | | | | | | | This library no longer supports Python 2, thus usage of six can be removed. This also removes workaround about pickle library used in Python 2 only. Change-Id: I19d298cf0f402d65f0b142dea0bf35cf992332a9
* Ensure we don't get stuck in formatting loopsJoshua Harlow2015-04-081-0/+15
| | | | Change-Id: I516dc2aca05823add9daf8c6d4c4af7ef7d2a313
* Make an attempt at having taskflow exceptions print causes betterJoshua Harlow2015-03-311-0/+38
| | | | | | | | | | It is often quite useful to try to see what the contained causes are on versions of python that do not have the native support for this built-in so to make everyones life easier add basic support for traversing the cause list and printing out associated causes when we are able to. Change-Id: Ia0a7e13757a989722291bcc06599d04014706d8c
* Chain exceptions correctly on py3.xJoshua Harlow2015-02-201-0/+74
In order to chain exceptions add a helper that can be used to chain exceptions automatically (when able) and use it in the various places we are already creating a new exception with a prior cause so that on py3.x the newly created exception has its 'cause' associated using the syntax available to do chaining in py3.x (which formats nicely as well in that python version). Change-Id: Iffddb27dbfe80816d6032e4b5532a0011ceedc95