This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年11月19日 19:49 by pitrou, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| pickle_module_import_failure.patch | pitrou, 2015年03月18日 21:45 | |||
| Messages (7) | |||
|---|---|---|---|
| msg231398 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2014年11月19日 19:49 | |
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. |
|||
| msg231399 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2014年11月19日 20:27 | |
They aren't "real" exceptions, though, if I understand correctly. |
|||
| msg238474 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2015年03月18日 21:45 | |
Here is a patch. |
|||
| msg238476 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2015年03月18日 22:11 | |
classname is not used in _make_failed_test(). |
|||
| msg238478 - (view) | Author: Robert Collins (rbcollins) * (Python committer) | Date: 2015年03月18日 22:30 | |
LGTM please commit. |
|||
| msg238480 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2015年03月18日 23:01 | |
New changeset f3977f34cf6c by Antoine Pitrou in branch '3.4': Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable. https://hg.python.org/cpython/rev/f3977f34cf6c New changeset a1b5ac563d8d by Antoine Pitrou in branch 'default': Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable. https://hg.python.org/cpython/rev/a1b5ac563d8d |
|||
| msg238481 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2015年03月18日 23:02 | |
Thanks! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:10 | admin | set | github: 67092 |
| 2015年03月18日 23:02:13 | pitrou | set | status: open -> closed resolution: fixed messages: + msg238481 stage: patch review -> resolved |
| 2015年03月18日 23:01:46 | python-dev | set | nosy:
+ python-dev messages: + msg238480 |
| 2015年03月18日 22:30:56 | rbcollins | set | messages: + msg238478 |
| 2015年03月18日 22:11:18 | serhiy.storchaka | set | nosy:
+ serhiy.storchaka messages: + msg238476 |
| 2015年03月18日 21:45:52 | pitrou | set | type: behavior stage: patch review |
| 2015年03月18日 21:45:44 | pitrou | set | files:
+ pickle_module_import_failure.patch keywords: + patch messages: + msg238474 |
| 2014年11月19日 20:27:24 | r.david.murray | set | nosy:
+ r.david.murray messages: + msg231399 |
| 2014年11月19日 19:51:26 | ethan.furman | set | nosy:
+ ethan.furman |
| 2014年11月19日 19:49:12 | pitrou | create | |