code: def test_replace_str_to_bool_without_default() -> None:
      s = pl.Series(["True", "False", "False", None])
      mapping = {"True": True, "False": False}
      result = s.replace(mapping)
      expected = pl.Series(["true", "false", "false", None])
      assert_series_equal(result, expected)
  
imports: from __future__ import annotations
  import contextlib
  from typing import Any
  import pytest
  import polars
  from polars.exceptions import CategoricalRemappingWarning
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 37 for calling a global function with example usage: test_replace_str_to_bool_without_default() without return types