[issue7989] Add pure Python implementation of datetime module to CPython

Alexander Belopolsky report at bugs.python.org
Thu Jun 17 17:00:10 CEST 2010


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

On Thu, Jun 17, 2010 at 10:32 AM, Antoine Pitrou <report at bugs.python.org> wrote:
..
>> Is there direct regrtest support for this?
>
> You can take a look at test_io, test_memoryio or test_heapq for inspiration.
>

I looked at test_io and don't like that approach.  It seems to require subclassing each TestCase twice for C and Python.  There is no mechanism to assure that all tests are replicated that way.

----------

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


More information about the Python-bugs-list mailing list