code: def test_value_as_date_when_set_as_timestamp(self) -> None:
      start = date(2017, 8, 9)
      end = date(2017, 8, 10)
      s = mws.DateRangeSlider(
          start=start,
          end=end,
          # Bokeh serializes as ms since epoch, if they get set as numbers (e.g.)
          # by client side update, this is the units they will be
          value=(
              convert_date_to_datetime(start),
              convert_date_to_datetime(end),
          ),
      )
      assert s.value_as_date == (start, end)
  
imports: from __future__ import annotations
  import pytest
  import logging
  from datetime import date, datetime, timezone
  from bokeh.core.properties import UnsetValueError
  from bokeh.core.validation.check import check_integrity, process_validation_issues
  from bokeh.util.logconfig import basicConfig
  from bokeh.util.serialization import convert_date_to_datetime, convert_datetime_type
  import bokeh.models.widgets.sliders
label_desc: Use image node_id 6 for calling the TestDateRangeSlider obj's underlying member method code with example usage: obj.test_value_as_date_when_set_as_timestamp() without return types