code: def test_imap_on_generator(self):
      self.run_test(
          "def imap_on_generator(l,v): return sum(map(lambda x:x*v, (y for x in l for y in range(x))))",
          [2, 3, 5],
          1,
          imap_on_generator=[List[int], int],
      )
  
imports: from pythran.tests import TestEnv
  import unittest
  import numpy
  from pythran.typing import List, NDArray
label_desc: Use image node_id 2 for calling the TestItertools obj's underlying member method code with example usage: obj.test_imap_on_generator() without return types