code: def test_imap(self):
      self.run_test(
          "def imap_(l0,v): return sum(map(lambda x:x*v, l0))",
          [0, 1, 2],
          2,
          imap_=[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 1 for calling the TestItertools obj's underlying member method code with example usage: obj.test_imap() without return types