def test_context_manager(self):
    span_name = 'root_span'
    with self._make_one(span_name) as s:
        self.assertIsNotNone(s)
        self.assertEqual(s.name, span_name)
def test_context_manager(self):
    span_name = 'root_span'
    with self._make_one(span_name) as s:
        self.assertIsNotNone(s)
        self.assertEqual(s.name, span_name)