code: def test_set_default_engine_kwargs_for_mysql_with_other_rdb() -> None:
      # Do not change engine_kwargs if database is not MySQL.
      engine_kwargs: Dict[str, Any] = {}
      RDBStorage._set_default_engine_kwargs_for_mysql(
          "sqlite:///example.db", engine_kwargs
      )
      assert "pool_pre_ping" not in engine_kwargs
      RDBStorage._set_default_engine_kwargs_for_mysql(
          "postgres:///example.db", engine_kwargs
      )
      assert "pool_pre_ping" not in engine_kwargs
  
imports: import os
  import platform
  import shutil
  import sys
  import tempfile
  from typing import Any
  from typing import Dict
  from typing import Optional
  from unittest.mock import patch
  import warnings
  import pytest
  from sqlalchemy.exc import IntegrityError
  import optuna
  from optuna import create_study
  from optuna import load_study
  from optuna.distributions import CategoricalDistribution
  from optuna.distributions import FloatDistribution
  from optuna.distributions import IntDistribution
  from optuna.storages import RDBStorage
  from optuna.storages._rdb.models import SCHEMA_VERSION
  from optuna.storages._rdb.models import VersionInfoModel
  from optuna.storages._rdb.storage import _create_scoped_session
  from optuna.testing.tempfile_pool import NamedTemporaryFilePool
  from .create_db import mo_objective_test_upgrade
  from .create_db import objective_test_upgrade
  from .create_db import objective_test_upgrade_distributions
label_desc: Use image node_id 7 for calling a global function with example usage: test_set_default_engine_kwargs_for_mysql_with_other_rdb() without return types