code: def assert_tz_offset(tz):
      
      tz_offset = get_tz_offset(tz)
      system_offset = get_system_offset()
      if tz_offset != system_offset:
          msg = ('Timezone offset does not match system offset: {0} != {1}. '
                 'Please, check your config files.').format(
                     tz_offset, system_offset
                 )
          raise ValueError(msg)
docs: Assert that system's timezone offset equals to the timezone offset found.
  
      If they don't match, we probably have a misconfiguration, for example, an
      incorrect timezone set in /etc/timezone file in systemd distributions.