Ezio Melotti <ezio.melo...@gmail.com> added the comment:

With this approach is necessary to exclude the base class from the tests, 
either by listing all the Python/C tests explicitly or doing some automatic 
check to find these base classes.  Listing all the tests is a bad idea because 
it needs to be updated manually and it's easy to forget about that and end up 
with tests that are never run.  Checking and skipping the base classes is not 
very elegant IMHO.

It also requires an extra base class, and even if it's more flexible because it 
makes possible to add Python-specific tests easily, that's not necessary with 
json because all the tests run unchanged on both pyjson and cjson.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5723>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to