diff options
author | John Newbery <john@johnnewbery.com> | 2017-03-21 13:57:07 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-05-03 14:14:50 -0400 |
commit | e9265df15b04178b40ab3bacfe6a944f0fb9ad27 (patch) | |
tree | 27e6d1b7312d8793aecee1a0684ebcc09bc40d67 /test/util | |
parent | ce58e93ec0bf4ef4a503379e98bd209dd99447eb (diff) |
Change help_text in bitcoin-util-test.py to a docstring.
Diffstat (limited to 'test/util')
-rwxr-xr-x | test/util/bitcoin-util-test.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/util/bitcoin-util-test.py b/test/util/bitcoin-util-test.py index 55d89c3b92..0c67663edb 100755 --- a/test/util/bitcoin-util-test.py +++ b/test/util/bitcoin-util-test.py @@ -3,23 +3,23 @@ # Copyright 2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. +"""Test framework for bitcoin utils. + +Runs automatically during `make check`. + +Can also be run manually.""" + import os import sys import argparse import logging -help_text="""Test framework for bitcoin utils. - -Runs automatically during `make check`. - -Can also be run manually.""" - if __name__ == '__main__': sys.path.append(os.path.dirname(os.path.abspath(__file__))) import buildenv import bctest - parser = argparse.ArgumentParser(description=help_text) + parser = argparse.ArgumentParser(description=__doc__) parser.add_argument('-v', '--verbose', action='store_true') args = parser.parse_args() verbose = args.verbose |