[issue7652] Merge C version of decimal into py3k.
report at bugs.python.org
Thu Jan 7 22:35:46 CET 2010
Brian Curtin <curtin at acm.org> added the comment:
>mark> (1) Could we unify test_decimal and test_cdecimal somehow?
>mark> This would avoid them getting out of sync when new tests are
>mark> added, and would make it clear what the differences between
>mark> them are. It looks like there's currently a lot of duplicate code.
An approach similar to the one taken in test_warnings.py might work: write common test code as a base class, then subclass it to be run against both the C and Py versions of the module.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list