diff options
author | Anthony Towns <aj@erisian.com.au> | 2020-07-13 14:49:31 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2020-11-09 17:53:50 +1000 |
commit | 97c738ff1b592270491551cc0a43472d244ffbb0 (patch) | |
tree | 29975a939ddadfae70270780fc3fec7d720be162 /test/functional/README.md | |
parent | 8ae9d314e9af7bcce1e8bc52f0317b9d565109bf (diff) |
[tests] Recommend f-strings for formatting, update feature_block to use them
Diffstat (limited to 'test/functional/README.md')
-rw-r--r-- | test/functional/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/README.md b/test/functional/README.md index 82b30fed51..2764acbf18 100644 --- a/test/functional/README.md +++ b/test/functional/README.md @@ -34,7 +34,7 @@ don't have test cases for. - When subclassing the BitcoinTestFramework, 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`. +- Use `f'{x}'` for string formatting in preference to `'{}'.format(x)` or `'%s' % x`. #### Naming guidelines |