aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMason Simon <masonsimon@gmail.com>2018-07-19 12:27:42 -0700
committerMason Simon <masonsimon@gmail.com>2018-07-19 12:27:42 -0700
commitb1b8863fd6fa54fa90f32fd2e384b0f257d0f526 (patch)
tree2c6c2c9ac2c5dbf1b7a56fcfa11b55683d5164d0 /test
parent8c36432791652cd5a67ead6299a9611cf8fb81fa (diff)
downloadbitcoin-b1b8863fd6fa54fa90f32fd2e384b0f257d0f526.tar.xz
docs: Specify preferred Python string formatting technique
Diffstat (limited to 'test')
-rw-r--r--test/functional/README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/README.md b/test/functional/README.md
index e6365222ff..6929ab5991 100644
--- a/test/functional/README.md
+++ b/test/functional/README.md
@@ -28,6 +28,7 @@ don't have test cases for.
- When subclassing the BitcoinTestFramwork, place overrides for the
`set_test_params()`, `add_options()` and `setup_xxxx()` methods at the top of
the subclass, then locally-defined helper methods, then the `run_test()` method.
+- Use `'{}'.format(x)` for string formatting, not `'%s' % x`.
#### Naming guidelines