code: def test_with_column_duplicates() -> None:
      df = pl.DataFrame(
          {"a": [0, None, 2, 3, None], "b": [None, 1, 2, 3, None]}
      )
      with pytest.raises(
          pl.ComputeError,
          match=r"The name: 'same' passed to `LazyFrame.with_columns` is duplicate",
      ):
          assert df.with_columns([pl.all().alias("same")]).columns == [
              "a",
              "b",
              "same",
          ]
  
imports: from __future__ import annotations
  import io
  from datetime import date, datetime, time
  from decimal import Decimal
  from typing import TYPE_CHECKING, Any
  import numpy
  import pytest
  import polars
  from polars.datatypes.convert import dtype_to_py_type
  from polars.exceptions import InvalidOperationError
label_desc: Use image node_id 35 for calling a global function with example usage: test_with_column_duplicates() without return types