code: def test_geocentric_radius_badval(bad_lat):
      with pytest.raises(ValueError):
          rcurve.geocentric_radius(bad_lat)
  
file_path: pymap3d/src/pymap3d/tests/test_rsphere.py
imports: import pymap3d
  import pymap3d.rcurve
  import pymap3d.rsphere
  import pytest
  from pytest import approx
label_desc: Use image node_id 2 for calling a global function with example usage: test_geocentric_radius_badval(bad_lat) without return types