Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test-backend: Fix argparse error type.

Anders Kaseorgbcb571c18770
diff --git a/tools/test-backend b/tools/test-backend
index ead1de42633..94a8f78cda2 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/'