code: def test_sidereal(time):
      # http://www.jgiesen.de/astro/astroJS/siderealClock/
      tsr = pmd.datetime2sidereal(time, radians(lon))
      if isinstance(tsr, list):
          tsr = tsr[0]
      assert tsr == approx(sra, rel=1e-5)
  
file_path: pymap3d/src/pymap3d/tests/test_sidereal.py
imports: from datetime import datetime
  from math import radians
  import pymap3d.haversine
  import pymap3d.sidereal
  import pytest
  from pytest import approx
label_desc: Use image node_id 1 for calling a global function with example usage: test_sidereal(time) without return types