Merge bitcoin/bitcoin#28181: qa, doc: Fix comment

ab498d913c qa, doc: Fix comment (Hennadii Stepanov)

Pull request description:

  This PR is a follow-up for:
  - https://github.com/bitcoin/bitcoin/pull/9956
  - https://github.com/bitcoin/bitcoin/pull/10096

ACKs for top commit:
  RandyMcMillan:
    ACK ab498d913c

Tree-SHA512: 267ae52c961ee79e172f27cb1587282ac5cf7ec929a136db6feed3de4f319a74b462befd9b99711081db8a5c30a513f72366364068700418b273a31958b31b1d
This commit is contained in:
fanquake committed 2023-07-31 10:51:50 +01:00
commit 80800361b1
1 file changed
+2 -2
+2 -2
View File
@@ -783,8 +783,8 @@ def check_script_prefixes():
def check_script_list(*, src_dir, fail_on_warn): def check_script_list(*, src_dir, fail_on_warn):
"""Check scripts directory. """Check scripts directory.
Check that there are no scripts in the functional tests directory which are Check that all python files in this directory are categorized
not being run by pull-tester.py.""" as a test script or meta script."""
script_dir = src_dir + '/test/functional/' script_dir = src_dir + '/test/functional/'
python_files = set([test_file for test_file in os.listdir(script_dir) if test_file.endswith(".py")]) python_files = set([test_file for test_file in os.listdir(script_dir) if test_file.endswith(".py")])
missed_tests = list(python_files - set(map(lambda x: x.split()[0], ALL_SCRIPTS + NON_SCRIPTS))) missed_tests = list(python_files - set(map(lambda x: x.split()[0], ALL_SCRIPTS + NON_SCRIPTS)))