
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2014-11-19 19:49 bypitrou, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| 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)*![]() | Date: 2014-11-19 19:49 | |
Just got this:_pickle.PicklingError: Can't pickle <class 'unittest.loader.ModuleImportFailure'>: attribute lookup ModuleImportFailure on unittest.loader failedunittest should use regular exception classes instead. | |||
| msg231399 -(view) | Author: R. David Murray (r.david.murray)*![]() | Date: 2014-11-19 20:27 | |
They aren't "real" exceptions, though, if I understand correctly. | |||
| msg238474 -(view) | Author: Antoine Pitrou (pitrou)*![]() | Date: 2015-03-18 21:45 | |
Here is a patch. | |||
| msg238476 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2015-03-18 22:11 | |
classname is not used in _make_failed_test(). | |||
| msg238478 -(view) | Author: Robert Collins (rbcollins)*![]() | Date: 2015-03-18 22:30 | |
LGTM please commit. | |||
| msg238480 -(view) | Author: Roundup Robot (python-dev)![]() | Date: 2015-03-18 23:01 | |
New changesetf3977f34cf6c 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/f3977f34cf6cNew changeseta1b5ac563d8d 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)*![]() | 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 | |