This is an archive of the discontinued Mercurial Phabricator instance.

tests: cast division result to int
ClosedPublic

Authored by indygreg on Jan 30 2019, 4:37 PM.

Details

Summary

Otherwise it is a float on Python 3 and code later compares about
casting a float to an int.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Jan 30 2019, 4:37 PM
This revision was automatically updated to reflect the committed changes.