[issue9104] test_exceptions does not test pickling with pickle.py

Alexander Belopolsky report at bugs.python.org
Mon Jun 28 21:30:05 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

In the new patch, issue9104.diff, I factored out import machinery into test.support.import_module_implementations and added it to a a couple of other test modules.  I did not attempt to improve all pickle tests.

The availability of import_module_implementations raises an interesting question of what to do in cases like heapq where one can potentially test 4 combinations of heapq/_heapq with pickle/_pickle.  Given that currently pickling of heapq objects is either not supported or not tested, we don't need to worry about it, but as parallel optimized/pure python module implementations proliferate, we may face exponential explosion of potential test cases.

----------
Added file: http://bugs.python.org/file17793/issue9104.diff

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


More information about the Python-bugs-list mailing list