mirror of https://github.com/zulip/zulip.git
test-backend: Fix argparse error type.
ArgumentError takes two arguments. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
9eb82f31c9
commit
bcb571c187
|
@ -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/'
|
||||
|
|
Loading…
Reference in New Issue