code: def get_tst_format_point_params():
      xy1 = (0.12345678901234567, 1.2345678901234567e10)
      xy2 = (-169.910918, -18.997564)
      xyz3 = (630084, 4833438, 76)
      test_list = [
          (".0f", xy1, "POINT (0 12345678901)", True),
          (".1f", xy1, "POINT (0.1 12345678901.2)", True),
          ("0.2f", xy2, "POINT (-169.91 -19.00)", True),
          (
              ".3F",
              (float("inf"), -float("inf")),
              "POINT (INF -INF)",
              True,
          ),
      ]
      if geos_version < (3, 10, 0):
          # 'g' format varies depending on GEOS version
          test_list += [
              (".1g", xy1, "POINT (0.1 1e+10)", True),
              (".6G", xy1, "POINT (0.123457 1.23457E+10)", True),
              (
                  "0.12g",
                  xy1,
                  "POINT (0.123456789012 12345678901.2)",
                  True,
              ),
              ("0.4g", xy2, "POINT (-169.9 -19)", True),
          ]
      else:
          test_list += [
              (".1g", xy1, "POINT (0.1 12345678901.2)", False),
              (
                  ".6G",
                  xy1,
                  "POINT (0.123457 12345678901.234568)",
                  False,
              ),
              (
                  "0.12g",
                  xy1,
                  "POINT (0.123456789012 12345678901.234568)",
                  False,
              ),
              ("g", xy2, "POINT (-169.910918 -18.997564)", False),
              ("0.2g", xy2, "POINT (-169.91 -19)", False),
          ]
      # without precsions test GEOS rounding_precision=-1; different than Python
      test_list += [
          ("f", (1, 2), f"POINT ({1:.16f} {2:.16f})", False),
          (
              "F",
              xyz3,
              "POINT Z ({:.16f} {:.16f} {:.16f})".format(*xyz3),
              False,
          ),
          ("g", xyz3, "POINT Z (630084 4833438 76)", False),
      ]
      return test_list
  
imports: import pytest
  from shapely import Point, Polygon
  from shapely.geos import geos_version
label_desc: Use image node_id 2 for calling a global function with example usage: get_tst_format_point_params() and returns: test_list