Skip to content

Commit e9265df

Browse files
committed
Change help_text in bitcoin-util-test.py to a docstring.
1 parent ce58e93 commit e9265df

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/util/bitcoin-util-test.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
# Copyright 2016 The Bitcoin Core developers
44
# Distributed under the MIT software license, see the accompanying
55
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6+
"""Test framework for bitcoin utils.
7+
8+
Runs automatically during `make check`.
9+
10+
Can also be run manually."""
11+
612
import os
713
import sys
814
import argparse
915
import logging
1016

11-
help_text="""Test framework for bitcoin utils.
12-
13-
Runs automatically during `make check`.
14-
15-
Can also be run manually."""
16-
1717
if __name__ == '__main__':
1818
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
1919
import buildenv
2020
import bctest
2121

22-
parser = argparse.ArgumentParser(description=help_text)
22+
parser = argparse.ArgumentParser(description=__doc__)
2323
parser.add_argument('-v', '--verbose', action='store_true')
2424
args = parser.parse_args()
2525
verbose = args.verbose

0 commit comments

Comments
 (0)