test-backend: Fix argparse error type.

ArgumentError takes two arguments.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-10-18 21:17:26 -07:00
parent 9eb82f31c9
commit bcb571c187
1 changed files with 1 additions and 1 deletions

View File

@ -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/'