code: def test_empty_list_construction() -> None:
      assert pl.Series([[]]).to_list() == [[]]
  
      df = pl.DataFrame(
          [{"array": [], "not_array": 1234}], orient="row"
      )
      expected = {"array": [[]], "not_array": [1234]}
      assert df.to_dict(as_series=False) == expected
  
      df = pl.DataFrame(schema=[("col", pl.List)])
      assert df.schema == {"col": pl.List}
      assert df.rows() == []
  
imports: from __future__ import annotations
  import pickle
  from datetime import date, datetime, time
  from typing import TYPE_CHECKING, Any
  import pandas
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_empty_list_construction() without return types