New submission from Michael Foord <mich...@voidspace.org.uk>:

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 copyable under earlier versions of Python). The same 
fix could be applied to unittest.

----------
assignee: michael.foord
components: Library (Lib)
keywords: easy
messages: 120496
nosy: michael.foord
priority: low
severity: normal
stage: needs patch
status: open
title: Can't pickle unittest.TestCase instances
type: behavior
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10326>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to