code: def test_excel_empty_sheet(
      read_spreadsheet: Callable[..., pl.DataFrame],
      source: str,
      request: pytest.FixtureRequest,
  ) -> None:
      empty_spreadsheet_path = request.getfixturevalue(source)
      with pytest.raises(NoDataError, match="empty Excel sheet"):
          pl.read_excel(empty_spreadsheet_path)
  
      df = pl.read_excel(empty_spreadsheet_path, raise_if_empty=False)
      assert_frame_equal(df, pl.DataFrame())
  
imports: from __future__ import annotations
  import warnings
  from collections import OrderedDict
  from datetime import date, datetime
  from io import BytesIO
  from typing import TYPE_CHECKING, Any, Callable, Literal
  import pytest
  import polars
  import polars.selectors
  from polars.exceptions import NoDataError, ParameterCollisionError
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 22 for calling a global function with example usage: test_excel_empty_sheet(read_spreadsheet, source, request) without return types