code: def test_boolean_environment_variable_invalid_value(
      monkeypatch, value
  ):
      monkeypatch.setenv("TEST_BOOLEAN_ENV_VAR", value)
      with pytest.raises(
          ValueError,
          match=r"must be one of \['true', 'false', '1', '0'\]",
      ):
          _BooleanEnvironmentVariable(
              "TEST_BOOLEAN_ENV_VAR", None
          ).get()
  
file_path: mlflow/tests/test_environment_variables.py
imports: import os
  import pytest
  from mlflow.environment_variables import _BooleanEnvironmentVariable, _EnvironmentVariable
label_desc: Use image node_id 4 for calling a global function with example usage: test_boolean_environment_variable_invalid_value(monkeypatch, value) without return types