def METHOD_NAME():
    # runs before test (save the value of environment variable
    # TRUSTED_CA_BUNDLE_PATH to avoid any contamination by tests
    # that modify it)
    current_TRUSTED_CA_BUNDLE_PATH_value = os.environ.get("TRUSTED_CA_BUNDLE_PATH")
    yield
    # runs after test (restore the value of environment variable
    # TRUSTED_CA_BUNDLE_PATH, if it was defined)
    if current_TRUSTED_CA_BUNDLE_PATH_value is not None:
        os.environ["TRUSTED_CA_BUNDLE_PATH"] = current_TRUSTED_CA_BUNDLE_PATH_value