Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast int to float in compare methods. #54

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

fdiary
Copy link
Contributor

@fdiary fdiary commented Jul 18, 2023

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.

@fdiary fdiary merged commit 4020211 into zopefoundation:master Jul 18, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants