code: def test_read_database_cx_credentials(uri: str) -> None:
      # check that we masked the potential credentials leak; this isn't really
      # our responsibility (ideally would be handled by connectorx), but we
      # can reasonably mitigate the issue.
      with pytest.raises(
          BaseException, match=r"fakedb://\*\*\*:\*\*\*@\w+"
      ):
          pl.read_database_uri("SELECT * FROM data", uri=uri)
  
imports: from __future__ import annotations
  import os
  import sqlite3
  import sys
  from contextlib import suppress
  from datetime import date
  from pathlib import Path
  from types import GeneratorType
  from typing import TYPE_CHECKING, Any, NamedTuple
  import pytest
  from sqlalchemy import Integer, MetaData, Table, create_engine, func, select
  from sqlalchemy.sql.expression import cast
  import polars
  from polars.exceptions import UnsuitableSQLError
  from polars.io.database import _ARROW_DRIVER_REGISTRY_
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 8 for calling a global function with example usage: test_read_database_cx_credentials(uri) without return types