[stream-refactor] Py2.4 compat fix for iter_split_test.

pull/607/head
David Wilson 5 years ago
parent f0065d76d8
commit 07f3179e58

@ -6,6 +6,12 @@ import mitogen.core
import testlib
try:
next
except NameError:
def next(it):
return it.next()
class IterSplitTest(unittest2.TestCase):
func = staticmethod(mitogen.core.iter_split)

Loading…
Cancel
Save