code: def test_invalid_environment(
      monkeypatch, env_fixture_0, missing_attr
  ):
      monkeypatch.delattr(settings.G.Env, missing_attr)
      with pytest.raises(EnvironmentInvalidError):
          CrossExperimentKeyMaker(dict(a="foo", b="bar"))
  
imports: from hyperparameter_hunter import settings
  from hyperparameter_hunter.i_o.exceptions import EnvironmentInactiveError, EnvironmentInvalidError
  from hyperparameter_hunter.keys.makers import CrossExperimentKeyMaker
  from hyperparameter_hunter.keys.hashing import make_hash_sha256
  from functools import partial
  import pandas
  import pytest
label_desc: Use image node_id 17 for calling a global function with example usage: test_invalid_environment(monkeypatch, env_fixture_0, missing_attr) without return types