code: def test_geodesic_npts__nan(input_data):
      geod = Geod(ellps="WGS84")
      assert_array_equal(
          geod.npts(*input_data, npts=1), [(math.nan, math.nan)]
      )
  
imports: import math
  import pickle
  from contextlib import nullcontext
  from itertools import permutations
  import numpy
  import pytest
  from numpy.testing import assert_almost_equal, assert_array_equal
  from pyproj import Geod
  from pyproj.geod import GeodIntermediateFlag, reverse_azimuth
label_desc: Use image node_id 10 for calling a global function with example usage: test_geodesic_npts__nan(input_data) without return types