[issue2661] Mapping tests cannot be passed by user implementations

Éric Araujo report at bugs.python.org
Tue Feb 21 03:39:57 CET 2012


Éric Araujo <merwok at netwok.org> added the comment:

I think it would be great to test the stdlib’s mapping classes against common tests; there is a patch to add more MutableMapping methods to dbm classes for example, and it was not trivial to get good test coverage.

Not sure about the status of the module though, i.e. if we should officially support people using mapping_tests to check their code; it would be very useful for classes that don’t inherit from an ABC, but the whole test package is not intended for public use.

----------
nosy: +eric.araujo
stage:  -> needs patch
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.1

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


More information about the Python-bugs-list mailing list