Message300969
When running the unittest runner in parallel with an module import error present in your code, this exception is raised:
_pickle.PicklingError: Can't pickle <class 'unittest.loader.ModuleImportFailure'>: attribute lookup ModuleImportFailure on unittest.loader failed
unittest should be raising standard exceptions instead.
This was fixed in Python 3.4 with this patch: https://bugs.python.org/issue22903
Given that 2.7 is still supported, this patch should be backported. |
|
Date |
User |
Action |
Args |
2017-08-28 23:53:15 | Rachel Tobin | set | recipients:
+ Rachel Tobin |
2017-08-28 23:53:15 | Rachel Tobin | set | messageid: <1503964395.2.0.931089155502.issue31297@psf.upfronthosting.co.za> |
2017-08-28 23:53:15 | Rachel Tobin | link | issue31297 messages |
2017-08-28 23:53:15 | Rachel Tobin | create | |
|