New submission from Rachel Tobin: 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. ---------- components: Library (Lib) messages: 300969 nosy: Rachel Tobin priority: normal severity: normal status: open title: Unpickleable ModuleImportError in unittest patch not backported to 2.7 type: crash versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31297> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com