code: def test_nightshade_floating_point():
      # Smoke test for clipping nightshade floating point values
      date = datetime(1999, 12, 31, 12)
  
      # This can cause an error with floating point precision if it is
      # set to exactly -6 and arccos input is not clipped to [-1, 1]
      Nightshade(date, refraction=-6.0, color="none")
  
imports: from datetime import datetime
  import pytest
  from cartopy.feature.nightshade import Nightshade, _julian_day, _solar_position
label_desc: Use image node_id 3 for calling a global function with example usage: test_nightshade_floating_point() without return types