[issue5723] Incomplete json tests

Ezio Melotti report at bugs.python.org
Wed Apr 13 09:18:10 CEST 2011

Ezio Melotti <ezio.melotti at gmail.com> added the comment:

Some tests for py_make_scanner have been added in c3ad883b940b.

I agree that having the tested method as an attribute of the class and changing it on a different subclass is the best approach, but it's not currently done by the json tests.
Do you think the test should be refactored to use this approach?  This will also make easier to skip _json-specific tests when _json is not available and for other Python implementations.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list