This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients serhiy.storchaka, vstinner, xiang.zhang
Date 2016-11-29.08:02:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480406521.19.0.979867635756.issue28822@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-11-29 08:02:01vstinnersetrecipients: + vstinner, serhiy.storchaka, xiang.zhang
2016-11-29 08:02:01vstinnersetmessageid: <1480406521.19.0.979867635756.issue28822@psf.upfronthosting.co.za>
2016-11-29 08:02:01vstinnerlinkissue28822 messages
2016-11-29 08:02:01vstinnercreate