code: def test_grouper_dropna_propagation(dropna):
      # GH 36604
      df = pd.DataFrame({"A": [0, 0, 1, None], "B": [1, 2, 3, None]})
      gb = df.groupby("A", dropna=dropna)
      assert gb._grouper.dropna == dropna
  
imports: import numpy
  import pytest
  from pandas.compat.pyarrow import pa_version_under10p1
  from pandas.core.dtypes.missing import na_value_for_dtype
  import pandas
  import pandas._testing
  from pandas.tests.groupby import get_groupby_method_args
label_desc: Use image node_id 6 for calling a global function with example usage: test_grouper_dropna_propagation(dropna) without return types