Fixed stream callback unit test
@@ -246,7 +246,7 @@ class TestBokehPlotInstantiation(ComparisonTestCase):
dmap = DynamicMap(lambda x, y: Points([(x, y)]), kdims=[], streams=[PositionXY()])
plot = bokeh_renderer.get_plot(dmap)
bokeh_renderer(plot)
- plot.callbacks[0].on_msg('{"x": 10, "y": -10}')
+ plot.callbacks[0].on_msg({"x": 10, "y": -10})
data = plot.handles['source'].data
self.assertEqual(data['x'], np.array([10]))
self.assertEqual(data['y'], np.array([-10]))
