summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_strop.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_strop.py')
-rw-r--r--Lib/test/test_strop.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_strop.py b/Lib/test/test_strop.py
index 9243ff4..a4f1882 100644
--- a/Lib/test/test_strop.py
+++ b/Lib/test/test_strop.py
@@ -45,6 +45,12 @@ test('split', 'this is the split function',
['this', 'is', 'the', 'split', 'function'])
test('split', 'a|b|c|d', ['a', 'b', 'c', 'd'], '|')
test('split', 'a|b|c|d', ['a', 'b', 'c|d'], '|', 2)
+test('split', 'a b c d', ['a', 'b c d'], None, 1)
+test('split', 'a b c d', ['a', 'b', 'c d'], None, 2)
+test('split', 'a b c d', ['a', 'b', 'c', 'd'], None, 3)
+test('split', 'a b c d', ['a', 'b', 'c', 'd'], None, 4)
+test('split', 'a b c d', ['a', 'b', 'c', 'd'], None, 0)
+test('split', 'a b c d', ['a', 'b', 'c d'], None, 2)
# join now works with any sequence type
class Sequence: