Skip to content

Commit f7f574d

Browse files
author
MarcoFalke
committed
Merge #13718: docs: Specify preferred Python string formatting technique
b1b8863 docs: Specify preferred Python string formatting technique (Mason Simon) Pull request description: @practicalswift this documents the nit you suggested in my previous PR bitcoin/bitcoin#13707 (comment) Tree-SHA512: b75335976b30ccbce5c2e3a46e5b6218e797944e7025c17b4e56f294670397d731e1a9f4fe7e809d907136e2e62cd9c2b8404b875b4879a1e3f0b1970b94d5a8
2 parents 6b6e854 + b1b8863 commit f7f574d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ don't have test cases for.
2828
- When subclassing the BitcoinTestFramwork, place overrides for the
2929
`set_test_params()`, `add_options()` and `setup_xxxx()` methods at the top of
3030
the subclass, then locally-defined helper methods, then the `run_test()` method.
31+
- Use `'{}'.format(x)` for string formatting, not `'%s' % x`.
3132

3233
#### Naming guidelines
3334

0 commit comments

Comments
 (0)