[issue11763] assertEqual memory issues with large text inputs

Antoine Pitrou report at bugs.python.org
Tue Apr 5 01:01:26 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Rather than hardwiring `self.addCleanup(lambda: setattr(self, '_diffThreshold', 2**16))`, you should retrieve the previous value.

----------

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


More information about the Python-bugs-list mailing list