code: def test_dissolve_dropna_warn(nybb_polydf):
      # No warning with default params
      with warnings.catch_warnings(record=True) as record:
          nybb_polydf.dissolve()
  
      for r in record:
          assert "dropna kwarg is not supported" not in str(r.message)
  
imports: import warnings
  import numpy
  import pandas
  import geopandas
  from geopandas import GeoDataFrame, read_file
  from pandas.testing import assert_frame_equal
  import pytest
  from geopandas._compat import PANDAS_GE_15, PANDAS_GE_20
  from geopandas.testing import assert_geodataframe_equal, geom_almost_equals
label_desc: Use image node_id 20 for calling a global function with example usage: test_dissolve_dropna_warn(nybb_polydf) without return types