code: def test_filter_date_year(date_dataframe):
      df = date_dataframe.filter_date(column_name="DATE", years=[2020])
  
      assert df.DATE.dt.year.unique()[0] == 2020
  
file_path: pyjanitor/tests/functions/test_filter_date.py
imports: import numpy
  import pandas
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_filter_date_year(date_dataframe) without return types