code: def timezones():
      # type: () -> st.SearchStrategy[dt.tzinfo]
      """Any timezone in dateutil.
  
      This strategy minimises to UTC, or the timezone with the smallest offset
      from UTC as of 2000-01-01, and is designed for use with
      :py:func:`~hypothesis.strategies.datetimes`.
  
      Note that the timezones generated by the strategy may vary depending on the
      configuration of your machine. See the dateutil documentation for more
      information.
      """
      all_timezones = sorted(
          (tz.gettz(t) for t in zoneinfo.get_zonefile_instance().zones),
          key=__zone_sort_key,
      )
      all_timezones.insert(0, tz.UTC)
      # We discard Nones in the list comprehension because Mypy knows that
      # tz.gettz may return None.  However this should never happen for known
      # zone names, so we assert that it's impossible first.
      assert None not in all_timezones
      return st.sampled_from(
          [z for z in all_timezones if z is not None]
      )
  
imports: from __future__ import absolute_import, division, print_function
  import datetime
  from dateutil import tz, zoneinfo
  import hypothesis.strategies._internal.core
label_desc: Use image node_id 2 for calling a global function with example usage: timezones() and returns: st