code: def test_inactive_environment(monkeypatch):
      monkeypatch.setattr(settings.G, "Env", None)
      with pytest.raises(EnvironmentInactiveError):
          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 16 for calling a global function with example usage: test_inactive_environment(monkeypatch) without return types