Paul Sokolovsky
|
a527313382
|
tests: Make bytes/str.count() tests skippable.
|
2018-10-22 22:50:28 +11:00 |
Damien George
|
d007cb8903
|
tests: Add more tests to improve coverage, mostly testing exceptions.
|
2015-08-21 12:02:09 +01:00 |
Damien George
|
536dde254b
|
py: In string.count, handle case of zero-length needle.
|
2014-03-13 22:07:55 +00:00 |
xbe
|
c5d70ba48b
|
Fix issues in str.count implementation.
See pull request #343.
|
2014-03-13 00:33:07 -07:00 |
xbe
|
9e1e8cd642
|
Implement str.count and add tests for it.
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.
|
2014-03-12 22:57:16 -07:00 |