From bcb5184b4550bb7141e31a9a58d4ff43cc56e7bf Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Dec 2014 16:53:59 +0100 Subject: [PATCH] minor cleanup: prefer explicit dict syntax --- tests/test_cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index d100985..a49839b 100755 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -145,10 +145,10 @@ def run(cmd, cwd=None): if VERBOSE: print(">>> ", args_as_string(cmd)) import subprocess - kwargs = dict( - stderr=subprocess.PIPE, - stdout=subprocess.PIPE, - ) + kwargs = { + "stderr": subprocess.PIPE, + "stdout": subprocess.PIPE, + } if cwd is not None: kwargs["cwd"] = cwd