code: def test_map(self):
      self.assertEqual(
          self.pool.map(sqr, range(10)), list(map(sqr, list(range(10))))
      )
      self.assertEqual(
          self.pool.map(sqr, (i for i in range(10))),
          list(map(sqr, list(range(10)))),
      )
      self.assertEqual(
          self.pool.map(sqr, list(range(10))),
          list(map(sqr, list(range(10)))),
      )
  
      self.assertEqual(
          self.pool.map(sqr, range(100), chunksize=20),
          list(map(sqr, list(range(100)))),
      )
      self.assertEqual(
          self.pool.map(sqr, (i for i in range(100)), chunksize=20),
          list(map(sqr, list(range(100)))),
      )
      self.assertEqual(
          self.pool.map(sqr, list(range(100)), chunksize=20),
          list(map(sqr, list(range(100)))),
      )
  
imports: from mpi4py import MPI
  import mpi4py.util.pool
  import concurrent.futures
  import itertools
  import functools
  import warnings
  import unittest
  import time
  import sys
  import os
label_desc: Use image node_id 5 for calling the BaseTestPool obj's underlying member method code with example usage: obj.test_map() without return types