code: def test_Span_accepts_datetime_location() -> None:
      obj = Span(
          location=datetime(2018, 8, 7, 0, 0),
      )
      assert isinstance(obj.location, datetime)
      assert convert_datetime_type(obj.location) == 1533600000000.0
  
imports: from __future__ import annotations
  import pytest
  from datetime import datetime
  from unittest import mock
  from bokeh.core.properties import field, value
  from bokeh.core.validation import check_integrity, process_validation_issues
  from bokeh.models import Arrow, ArrowHead, Band, BoxAnnotation, ColorBar, ColumnDataSource, GlyphRenderer, Label, LabelSet, Legend, LegendItem, LinearColorMapper, Node, PolyAnnotation, Slope, Span, Title, Whisker
  from bokeh.util.serialization import convert_datetime_type
  from _util_models import ABOVE_FILL, ABOVE_HATCH, ANGLE, BELOW_FILL, BELOW_HATCH, FILL, HATCH, HOVER_FILL, HOVER_HATCH, HOVER_LINE, LINE, TEXT, check_fill_properties, check_hatch_properties, check_line_properties, check_properties_existence, check_text_properties, prefix
label_desc: Use image node_id 15 for calling a global function with example usage: test_Span_accepts_datetime_location() without return types