예제 #1
0
 def testIsGenerator(self):
     self.assertNotIsInstance(it.take([1], 1), (list, tuple))
예제 #2
0
 def t(self, *args, **kwargs):
     return list(it.take(*args, **kwargs))