aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-07-20 09:03:17 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-07-20 09:03:26 -0400
commitf7f574d453bf52fafec5bec76b278db97081d837 (patch)
tree859ce5d1b0da298687d23efb65f0058e6ab96efc
parent6b6e854362bc17c38c99a0b9215b60aed0e5fedc (diff)
parentb1b8863fd6fa54fa90f32fd2e384b0f257d0f526 (diff)
Merge #13718: docs: Specify preferred Python string formatting technique
b1b8863fd6 docs: Specify preferred Python string formatting technique (Mason Simon) Pull request description: @practicalswift this documents the nit you suggested in my previous PR https://github.com/bitcoin/bitcoin/pull/13707#discussion_r203628395 Tree-SHA512: b75335976b30ccbce5c2e3a46e5b6218e797944e7025c17b4e56f294670397d731e1a9f4fe7e809d907136e2e62cd9c2b8404b875b4879a1e3f0b1970b94d5a8
-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