code: def test_assert_format_dict():
      """[Utils] _assert_format: test correct dict passes."""
      instances = {
          "a": [("ols-a1", OLS()), ("ols-a2", OLS(offset=1))],
          "b": [("ols-b1", OLS()), ("ols-b2", OLS(offset=1))],
      }
      assert _assert_format(instances)
  
file_path: mlens/mlens/utils/tests/test_formatting.py
imports: from mlens.utils.dummy import OLS
  from mlens.utils.formatting import _check_format, _assert_format, _format_instances, _check_instances
label_desc: Use image node_id 9 for calling a global function with example usage: test_assert_format_dict() without return types