code: def test_compare_series_nulls() -> None:
      srs1 = pl.Series([1, 2, None])
      srs2 = pl.Series([1, 2, None])
      assert_series_equal(srs1, srs2)
  
      srs1 = pl.Series([1, 2, 3])
      srs2 = pl.Series([1, None, None])
      assert_series_not_equal(srs1, srs2)
  
      with pytest.raises(AssertionError, match="value mismatch"):
          assert_series_equal(srs1, srs2)
  
imports: from __future__ import annotations
  import math
  from datetime import datetime, time, timedelta
  from decimal import Decimal
  from typing import Any
  import pytest
  import polars
  from polars.testing import assert_series_equal, assert_series_not_equal
label_desc: Use image node_id 4 for calling a global function with example usage: test_compare_series_nulls() without return types