code: def make_array(left, right, use_array):
      if use_array in ("left", "both"):
          left = np.array([left] * 3, dtype=object)
      if use_array in ("right", "both"):
          right = np.array([right] * 3, dtype=object)
      return left, right
  
file_path: shapely/shapely/tests/test_testing.py
imports: import numpy
  import pytest
  import shapely
  from shapely.testing import assert_geometries_equal
  from shapely.tests.common import all_types, empty, empty_line_string, empty_line_string_z, empty_point, empty_point_z, empty_polygon, line_string, line_string_nan, line_string_z, point
label_desc: Use image node_id 1 for calling a global function with example usage: make_array(left, right, use_array) and returns: left,  right