code: def test_add_context_outside_contextmanager():
      with pytest.raises(
          AttributeError,
          match=(
              "add_context called outside of reraise_with_context contextmanager."
          ),
      ):
          error_utils.add_context("Adding context")
  
imports: import pytest
  from tensorflow_datasets.core.utils import error_utils
label_desc: Use image node_id 5 for calling a global function with example usage: test_add_context_outside_contextmanager() without return types