code: def test_write_excel_bytes(
      engine: Literal["xlsx2csv", "openpyxl", "pyxlsb"]
  ) -> None:
      df = pl.DataFrame({"A": [1, 2, 3, 4, 5]})
  
      excel_bytes = BytesIO()
      df.write_excel(excel_bytes)
  
      df_read = pl.read_excel(excel_bytes, engine=engine)
      assert_frame_equal(df, df_read)
  
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 12 for calling a global function with example usage: test_write_excel_bytes(engine) without return types