code: def __make_date_examples():
      dates_no_day = [date(1999, 12, 1), date(2016, 2, 1)]
  
      if not six.PY2:
          # strftime does not support dates before 1900 in Python 2
          dates_no_day.append(date(1000, 11, 1))
  
      # Only one supported format for dates with no day
      o = zip(dates_no_day, it.repeat("%Y-%m"))
  
      dates_w_day = [
          date(1969, 12, 31),
          date(1900, 1, 1),
          date(2016, 2, 29),
          date(2017, 11, 14),
      ]
  
      dates_w_day_fmts = ("%Y%m%d", "%Y-%m-%d")
      o = it.chain(o, it.product(dates_w_day, dates_w_day_fmts))
  
      return list(o)
  
imports: from __future__ import unicode_literals
  from datetime import datetime, timedelta, date, time
  import itertools
  from dateutil import tz
  from dateutil.tz import UTC
  from dateutil.parser import isoparser, isoparse
  import pytest
  import six
label_desc: Use image node_id 25 for calling a global function with example usage: __make_date_examples() and returns: list