[issue10326] Can't pickle unittest.TestCase instances

2011-06-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue10326] Can't pickle unittest.TestCase instances

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c337a4c650d by Raymond Hettinger in branch '2.7': Issue 10326: Fix regression to get test cases to pickle again. http://hg.python.org/cpython/rev/9c337a4c650d -- nosy: +python-dev ___ Python tracker

[issue10326] Can't pickle unittest.TestCase instances

2010-11-20 Thread Michael Foord
Michael Foord added the comment: Applied to Python 3.2 in revision 86570. Python 2.7 will have to be fixed after the next release as we are currently in release candidate stage. -- ___ Python tracker ___

[issue10326] Can't pickle unittest.TestCase instances

2010-11-05 Thread Mark Roddy
Mark Roddy added the comment: Attaching patch which makes TestCase pickle-able for Python 3.2, includes unit test -- Added file: http://bugs.python.org/file19516/python3k.pickle.patch ___ Python tracker _

[issue10326] Can't pickle unittest.TestCase instances

2010-11-05 Thread Mark Roddy
Mark Roddy added the comment: Patch which makes TestCase pickle-able for Python 2.7, includes unit test -- keywords: +patch nosy: +MarkRoddy Added file: http://bugs.python.org/file19515/python27.pickle.patch ___ Python tracker

[issue10326] Can't pickle unittest.TestCase instances

2010-11-05 Thread Michael Foord
New submission from Michael Foord : In Python 2.7 a change was introduced to TestCase which involves storing a dictionary of method objects on TestCase instances. This makes them unpickleable. unittest2 stores strings (method names) instead of method objects (a fix to make TestCase instances