[issue5660] Cannot deepcopy unittest.TestCase instances

Michael Foord report at bugs.python.org
Thu Apr 2 06:56:01 CEST 2009


Michael Foord <michael at voidspace.org.uk> added the comment:

This is a workaround:

import copy
copy._deepcopy_dispatch[types.MethodType] = copy._deepcopy_atomic

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5660>
_______________________________________


More information about the Python-bugs-list mailing list