Page MenuHomePhabricator

Update test_framework scripts to use the new .format() method
ClosedPublic

Authored by Fabien on Feb 19 2019, 16:26.

Details

Summary

Avoid using % to format strings, switch to the new method instead.

Test Plan
./test/functional/test_runner.py --extended

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

test/functional/test_framework/authproxy.py
54 ↗(On Diff #7395)

Is that correct ?

Fix wrong format in JSONRPCException

test/functional/test_framework/authproxy.py
54 ↗(On Diff #7395)

No, good catch. I get confused between named args and dictionary keys, this is now fixed.

This revision is now accepted and ready to land.Feb 22 2019, 15:09
This revision was automatically updated to reflect the committed changes.