code: def test_list_diagonal_concat() -> None:
      df1 = pl.DataFrame({"a": [1, 2]})
  
      df2 = pl.DataFrame({"b": [[1]]})
  
      assert pl.concat([df1, df2], how="diagonal").to_dict(
          as_series=False
      ) == {
          "a": [1, 2, None],
          "b": [None, None, [1]],
      }
  
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 9 for calling a global function with example usage: test_list_diagonal_concat() without return types