code: def test_bad_name():
      with pytest.raises(KeyError):
          pm.Ellipsoid.from_name("badname")
  
imports: import pytest
  from pytest import approx
  import pymap3d
label_desc: Use image node_id 2 for calling a global function with example usage: test_bad_name() without return types