def METHOD_NAME(testing_metadata, mocker):
    get_env_dependencies = mocker.patch.object(jinja_context, "get_env_dependencies")
    get_env_dependencies.return_value = ["jpeg 9d 0"], [], None
    pin = jinja_context.pin_compatible(testing_metadata, "jpeg")
    assert pin == "jpeg >=9d,<10a"