code: def test_scalar_geodetic2ecef(lla):
      """
      verify we can handle the wide variety of input data type users might use
      """
  
      if isinstance(lla[0], list):
          np = pytest.importorskip("numpy")
  
      xyz = pm.geodetic2ecef(*lla)
      lla1 = pm.ecef2geodetic(*xyz)
  
      try:
          assert np.isclose(lla1, lla, rtol=1e-4).all()
      except NameError:
          assert lla1 == approx(lla, rel=1e-4)
  
file_path: pymap3d/src/pymap3d/tests/test_geodetic.py
imports: from math import isnan, nan, radians, sqrt
  import pymap3d
  import pytest
  from pytest import approx
label_desc: Use image node_id 1 for calling a global function with example usage: test_scalar_geodetic2ecef(lla) without return types