code: def test_set_fmt_str_lengths_invalid_length() -> None:
      with pl.Config() as cfg:
          with pytest.raises(ValueError):
              cfg.set_fmt_str_lengths(0)
          with pytest.raises(ValueError):
              cfg.set_fmt_str_lengths(-2)
  
imports: from __future__ import annotations
  import os
  from pathlib import Path
  from typing import Any, Iterator
  import pytest
  import polars
  import polars.polars
  from polars.config import _POLARS_CFG_ENV_VARS
label_desc: Use image node_id 18 for calling a global function with example usage: test_set_fmt_str_lengths_invalid_length() without return types