From 689a93cdd81c5ef244ff3f8d6abb96baa3c6297c Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Mon, 22 Jan 2018 16:57:00 +0000 Subject: [PATCH] if -> elif --- tests/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/__main__.py b/tests/__main__.py index 99faffbe..2e1a0321 100644 --- a/tests/__main__.py +++ b/tests/__main__.py @@ -17,9 +17,10 @@ def convert_argv(argv): if arg == '--quick': quick = True continue - if arg == '--full': + elif arg == '--full': quick = False continue + # Unittest's main has only flags and positional args. # So we don't worry about options with values. if not arg.startswith('-'):