( )⚙ D4696 py3: use '%d' for integers instead of '%s'

This is an archive of the discontinued Mercurial Phabricator instance.

py3: use '%d' for integers instead of '%s'
ClosedPublic

Authored by pulkit on Sep 23 2018, 9:09 PM.

Details

Summary

Python 3 does not allow using "%s" for integers.

This makes the test works on Python 3. The test still does not pass because
there is a deprecation warning.

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

pulkit created this revision.Sep 23 2018, 9:09 PM
This revision was automatically updated to reflect the committed changes.