• Jérome Perrin's avatar
    *: compatibility with DateTime >= 3 🚧 · 8f33cfa8
    Jérome Perrin authored
    ~~drop the patch in DateTime._parse_args which cause DateTime to
    support timezone naive dates~~
    ~~adjust __setstate__ to pickle the timezone naive flag~~
    
    => no we keep it the same patch as it was, without timezone
    native support
    
    adjust code relying on DateTime private attributes
    
    adjust tests for new DateTime.__eq__ behavior (instances with
    different timezones are different)
    
    more testing, especially for various __setstate__ versions
    
    introduce a context manager to change timezone in tests.
    8f33cfa8
testOOoImport.py 39.6 KB