def _new_DatetimeIndex(cls, d):
if "<STR_LIT:data>" in d and not isinstance(d["<STR_LIT:data>"], DatetimeIndex):<EOL><INDENT>data = d.pop("<STR_LIT:data>")<EOL>result = cls._simple_new(data, **d)<EOL><DEDENT>else:<EOL><INDENT>with warnings.catch_warnings():<EOL><INDENT>warnings.simplefilter("<STR_LIT:ignore>")<EOL>result = cls.__new__(cls, verify_integrity=False, **d)<EOL><DEDENT><DEDENT>return result<EOL>
This is called upon unpickling, rather than the default which doesn't
    have arguments and breaks __new__