From 4f85487b02bd7fc845f1c0726b9ec2a7703d7631 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Wed, 25 Oct 2017 11:24:20 -0700 Subject: Tighten up verbose flag --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tasks.py') diff --git a/tasks.py b/tasks.py index 3b0d9888..53d99b26 100644 --- a/tasks.py +++ b/tasks.py @@ -10,7 +10,7 @@ from invocations.testing import count_errors @task def test(ctx, verbose=True, coverage=False, opts=""): - if verbose: + if verbose and '--verbose' not in opts and '-v' not in opts: opts += " --verbose" runner = "pytest" if coverage: -- cgit v1.2.1