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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

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