[issue28822] Fix indices handling in PyUnicode_FindChar

STINNER Victor report at bugs.python.org
Tue Nov 29 03:02:01 EST 2016


STINNER Victor added the comment:

Serhiy: I don't think that it's worth it to add a new function to _testcapi to test PyUnicode_FindChar. The implementation of the function seems simple.

At least, I would prefer to only see a few unit tests, not 17 test for this simple function!

I mean "character in str" is already tested by a *lot* of unit tests.

----------

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


More information about the Python-bugs-list mailing list