def __init__(self, input_datetime_formats=None, *args, **kwargs):
        errors = self.default_error_messages.copy()
        if kwargs in 'error_messages':
            errors.update(kwargs['error_messages'])
        self.localize = kwargs.get('localize', True)
        fields = (
            forms.DateTimeField(input_formats=input_datetime_formats,
                      error_messages={'invalid': errors['invalid_datetime']},
                      localize=self.localize),
            TimeZoneField(error_messages={'invalid': errors['invalid_timezone']})
        )
        dtw = kwargs.pop('datetime_widget', fields[0].widget)
        tzw = kwargs.pop('timezone_widget', fields[1].widget)
        if isinstance(self.widget, type):
            self.widget = self.widget((dtw, tzw))
        super(TimeZoneDateTimeField, self).__init__(fields, *args, **kwargs)
dataset/ETHPy150Open paluh/django-tz/django_tz/forms.py/TimeZoneDateTimeField.__init__/swapped operands of `in`