code: def test_frozen_context():
      with frozen_context({"a": 1, "b": 2}):
          _frozen_context_middle()
  
      assert frozen_context.current() is None
  
      with frozen_context({"a": 1, "b": 2}):
          with frozen_context({"c": 3}):
              assert frozen_context.current() == {
                  "a": 1,
                  "b": 2,
                  "c": 3,
              }
              with frozen_context.bypass():
                  assert frozen_context.current() == {"a": 1, "b": 2}
  
file_path: nni/test/ut/sdk/mutable/test_frozen.py
imports: import pytest
  from nni.mutable import *
label_desc: Use image node_id 2 for calling a global function with example usage: test_frozen_context() without return types