code: def test_geodetic2spherical(lla, llr):
      coords = pm.geodetic2spherical(*lla)
      assert coords[:2] == approx(llr[:2])
      assert coords[2] == approx(llr[2], abs=atol_dist)
  
file_path: pymap3d/src/pymap3d/tests/test_spherical.py
imports: import pytest
  from pytest import approx
  import pymap3d
label_desc: Use image node_id 1 for calling a global function with example usage: test_geodetic2spherical(lla, llr) without return types