You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This failure seems to be due to python/cpython#10902 . Relevant What's new entry text.
Arithmetic operations between subclasses of :class:`datetime.date` or
:class:`datetime.datetime` and :class:`datetime.timedelta` objects now return
an instance of the subclass, rather than the base class. This also affects
the return type of operations whose implementation (directly or indirectly)
uses :class:`datetime.timedelta` arithmetic, such as
:meth:`datetime.datetime.astimezone`.
Yes, I think so but unfortunately I am not sure how it needs to be changed since I have less experience with the project. A simplified reproducer is as below that will pass in Python 3.7 and will fail like the test in Python 3.8 due to CPython change.
The text was updated successfully, but these errors were encountered: