-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
unittest creates non-picklable errors #67092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just got this: _pickle.PicklingError: Can't pickle <class 'unittest.loader.ModuleImportFailure'>: attribute lookup ModuleImportFailure on unittest.loader failed unittest should use regular exception classes instead. |
They aren't "real" exceptions, though, if I understand correctly. |
Here is a patch. |
classname is not used in _make_failed_test(). |
LGTM please commit. |
New changeset f3977f34cf6c by Antoine Pitrou in branch '3.4': New changeset a1b5ac563d8d by Antoine Pitrou in branch 'default': |
Thanks! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: