code: def test_eci_aer():
      # test coords from Matlab eci2aer
      pytest.importorskip("numpy")
      t = datetime(2022, 1, 2, 3, 4, 5)
  
      eci = [4500000, -45000000, 3000000]
      lla = [28, -80, 100]
  
      aer = pm.eci2aer(*eci, *lla, t)
  
      rel = 0.01 if astropy is None else 0.0001
  
      assert aer == approx([314.9945, -53.0089, 5.026e7], rel=rel)
  
      eci2 = pm.aer2eci(*aer, *lla, t)
  
      rel = 0.1 if astropy is None else 0.001
  
      assert eci2 == approx(eci, rel=rel)
  
      with pytest.raises(ValueError):
          pm.aer2eci(aer[0], aer[1], -1, *lla, t)
  
file_path: pymap3d/src/pymap3d/tests/test_eci.py
imports: from datetime import datetime
  import pymap3d
  import pytest
  from pytest import approx
label_desc: Use image node_id 5 for calling a global function with example usage: test_eci_aer() without return types