Page MenuHomePhabricator

[tests] use f-string instead of .format(*tuple)
ClosedPublic

Authored by PiRK on Mar 1 2023, 14:08.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC28299c3c4142: [tests] use f-string instead of .format(*tuple)
Summary

This is more readable than unpacking tuples.

Test Plan

ninja check-functional

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Mar 1 2023, 14:08
Fabien requested changes to this revision.Mar 1 2023, 15:24
Fabien added a subscriber: Fabien.
Fabien added inline comments.
test/functional/interface_rest.py
110 ↗(On Diff #38190)

it's no longer used and can be removed

This revision now requires changes to proceed.Mar 1 2023, 15:24
PiRK requested review of this revision.Mar 1 2023, 17:05
PiRK added inline comments.
test/functional/interface_rest.py
153 ↗(On Diff #38190)

It is still used here.

Fabien added inline comments.
test/functional/interface_rest.py
153 ↗(On Diff #38190)

I didn't expand the diff enough for my ctrl+f to pick it...

This revision is now accepted and ready to land.Mar 1 2023, 18:13