From 1461535b5ddfa77262c1efbb736a600438276f02 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 1 Sep 2003 05:20:43 +0000 Subject: [PATCH] Added test for no reason other than to make sure something worked before suggesting it to someone. --- test/test_fix.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_fix.py b/test/test_fix.py index 928fbaec8..38053e8a4 100644 --- a/test/test_fix.py +++ b/test/test_fix.py @@ -75,6 +75,8 @@ class FunctionsTest(unittest.TestCase): self.assertEqual(list(itersplit([], lambda x: x)), []) self.assertEqual(list(itersplit(s, lambda c: c.isspace())), map(list, s.split())) + self.assertEqual(list(itersplit(['foo', 'for', 'bar'], 'for'.__eq__)), + [['foo'], ['bar']]) def testIterableMap(self): class alist(IterableMap):