From bcb571c18770b4972da7485fb0320442baddca5f Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sun, 18 Oct 2020 21:17:26 -0700 Subject: [PATCH] test-backend: Fix argparse error type. ArgumentError takes two arguments. Signed-off-by: Anders Kaseorg --- tools/test-backend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-backend b/tools/test-backend index ead1de4263..94a8f78cda 100755 --- a/tools/test-backend +++ b/tools/test-backend @@ -267,7 +267,7 @@ def main() -> None: include_webhooks = options.coverage or options.include_webhooks if parallel < 1: - raise argparse.ArgumentError( + raise argparse.ArgumentTypeError( "option processes: Only positive integers are allowed.") zerver_test_dir = 'zerver/tests/'