summaryrefslogtreecommitdiff
path: root/tests/basics/string_count.py
AgeCommit message (Collapse)Author
2015-08-21tests: Add more tests to improve coverage, mostly testing exceptions.Damien George
2014-03-13py: In string.count, handle case of zero-length needle.Damien George
2014-03-13Fix issues in str.count implementation.xbe
See pull request #343.
2014-03-12Implement str.count and add tests for it.xbe
Also modify mp_get_index to accept: 1. Indices that are or evaluate to a boolean. 2. Slice indices. Add tests for these two cases.