code: def test_check_instances_dict():
      """[Utils] check_instances: test correct dict is returned as is."""
  
      instances = {
          "a": [("ols-a1", OLS()), ("ols-a2", OLS(offset=1))],
          "b": [("ols-b1", OLS()), ("ols-b2", OLS(offset=1))],
      }
      out = _check_instances(instances)
  
      assert id(out) == id(instances)
      for k in out:
          ou = out[k]
          it = instances[k]
          for i in range(2):
              for j in range(2):
                  assert id(ou[i][j]) == id(it[i][j])
  
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 14 for calling a global function with example usage: test_check_instances_dict() without return types