def METHOD_NAME(self):
    times = np.arange(dt.datetime(2017,1,1), dt.datetime(2017,2,1),
                      dt.timedelta(days=1))
    box = BoxWhisker((times, np.random.rand(len(times))), kdims=['Date'])
    plot = bokeh_renderer.get_plot(box)
    formatted = [box.kdims[0].pprint_value(t) for t in times]
    self.assertTrue(all(cds.data['index'][0] in formatted for cds in
                        plot.state.select(ColumnDataSource)
                        if len(cds.data.get('index', []))))