This package provides a DateTime data type, as known from Zope. Unless you need to communicate with Zope APIs, you're probably better off using Python's built-in datetime module.
As DateTime(int) behaviour is same as DateTime(float), we expect equalTo(int) behaviour same as equalTo(float) and same for other compare methods as well.
FYI, the coverate rate becomes a bit worse with this change but it is just because src/DateTime/DateTime.py has less number of lines, i.e. the number of non-covered lines does not increase.
As
DateTime(int)
behaviour is same asDateTime(float)
, we expectequalTo(int)
behaviour same asequalTo(float)
and same for other compare methods as well.FYI, the coverate rate becomes a bit worse with this change but it is just because
src/DateTime/DateTime.py
has less number of lines, i.e. the number of non-covered lines does not increase.