code: def test_set_operation_prec_reduce_grid_size_nan(func, related_func):
      actual = func([point, point], grid_size=np.nan)
      assert actual is None
  
imports: import numpy
  import pytest
  import shapely
  from shapely import Geometry, GeometryCollection, Polygon
  from shapely.errors import UnsupportedGEOSVersionError
  from shapely.testing import assert_geometries_equal
  from shapely.tests.common import all_types, empty, ignore_invalid, point, polygon
label_desc: Use image node_id 16 for calling a global function with example usage: test_set_operation_prec_reduce_grid_size_nan(func, related_func) without return types