code: def test_add_column_fill_remaining_iterable(df, vals: list):
      """Checks the `fill_remaining` parameter works as expected."""
      if len(vals) > len(df) or not vals:
          with pytest.raises(ValueError):
              df = df.add_column(
                  "fill_in_iterable", vals, fill_remaining=True
              )
      else:
          df = df.add_column(
              "fill_in_iterable", vals, fill_remaining=True
          )
          assert not pd.isna(df["fill_in_iterable"]).any()
  
file_path: pyjanitor/tests/functions/test_add_column.py
imports: import numpy
  import pandas
  import pytest
  from hypothesis import given, settings
  from hypothesis import strategies
  from pandas.testing import assert_series_equal
  from janitor.testing_utils.strategies import df_strategy
label_desc: Use image node_id 9 for calling a global function with example usage: test_add_column_fill_remaining_iterable(df, vals) without return types