def test_save_and_restore(self):
        engine = self.e
        scene = self.scene

        # Save visualization.
        f = BytesIO()
        f.name = abspath('test.mv2') # We simulate a file.
        engine.save_visualization(f)
        f.seek(0) # So we can read this saved data.

        # Remove existing scene.

        engine.close_scene(scene)

        # Load visualization
        engine.load_visualization(f)
        s=self.scene = engine.current_scene

        o = s.children[0].children[0].children[0].children[0]
        self.assertEqual(o.outline_filter.output.bounds,
                                (1.0, 2.0, 1.0, 2.0, 1.0, 2.0))
Stores a Baggage item in the span as a key/value pair.
dataset/ETHPy150Open enthought/mayavi/mayavi/tests/test_plot3d_mb_reader.py/TestPlot3dMbReader.test_save_and_restore--crossover with--dataset/ETHPy150Open opentracing/opentracing-python/opentracing/span.py/Span.set_baggage_item