From b1b8863fd6fa54fa90f32fd2e384b0f257d0f526 Mon Sep 17 00:00:00 2001 From: Mason Simon Date: Thu, 19 Jul 2018 12:27:42 -0700 Subject: docs: Specify preferred Python string formatting technique --- test/functional/README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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 -- cgit v1.2.3