From f55fd9734fb965d931ee78de656407e446bd29c2 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 22 Aug 2024 09:42:35 -0700 Subject: [PATCH] style: remove unnecessary JSON usage in usage message --- tests/basic/test_find_or_blocks.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/basic/test_find_or_blocks.py b/tests/basic/test_find_or_blocks.py index cd68f17f3..410380eac 100755 --- a/tests/basic/test_find_or_blocks.py +++ b/tests/basic/test_find_or_blocks.py @@ -1,6 +1,5 @@ #!/usr/bin/env python3 -import json import re import sys @@ -61,10 +60,6 @@ def process_markdown(filename, fh): if __name__ == "__main__": if len(sys.argv) != 2: - print( - json.dumps({"error": "Usage: python testsr.py "}, indent=4), - file=sys.stdout, - flush=True, - ) + print("Usage: python testsr.py ", file=sys.stdout, flush=True) else: process_markdown(sys.argv[1], sys.stdout)