code: def test_env_file_invalid_format(self, content, expected_message):
      with mock_local_file(content):
          with pytest.raises(
              AirflowFileParseException,
              match=re.escape(expected_message),
          ):
              local_filesystem.load_connections_dict("a.env")
  
imports: from __future__ import annotations
  import json
  import os
  import re
  from contextlib import contextmanager
  from unittest import mock
  import pytest
  from airflow.configuration import ensure_secrets_loaded
  from airflow.exceptions import AirflowException, AirflowFileParseException, ConnectionNotUnique
  from airflow.models import Variable
  from airflow.secrets import local_filesystem
  from airflow.secrets.local_filesystem import LocalFilesystemBackend
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 3 for calling the TestLoadConnection obj's underlying member method code with example usage: obj.test_env_file_invalid_format(content, expected_message) without return types