code: def testContiguousReservation(self, num_ports):
      reserved = portspicker.pick_contiguous_unused_ports(num_ports)
      self.assertLen(reserved, num_ports)
      portspicker.return_ports(reserved)
  
file_path: pysc2/pysc2/lib/portspicker_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from pysc2.lib import portspicker
label_desc: Use image node_id 2 for calling the PortsTest obj's underlying member method code with example usage: obj.testContiguousReservation(num_ports) without return types