From d1f961a432e30e5a44f18d7bf867e3f378ea3465 Mon Sep 17 00:00:00 2001 From: Francis Charette Migneault Date: Mon, 18 Sep 2023 09:50:12 -0400 Subject: [PATCH] ignore lint false-positive in test --- tests/functional/test_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/test_cli.py b/tests/functional/test_cli.py index 4b576e47c..2a3d0801d 100644 --- a/tests/functional/test_cli.py +++ b/tests/functional/test_cli.py @@ -1353,8 +1353,8 @@ def test_package_process(self): cwl.pop("$id", None) cwl.pop("$schema", None) pkg = package.copy() - pkg["inputs"] = [dict(id=key, **val) for key, val in package["inputs"].items()] # noqa - pkg["outputs"] = [dict(id=key, **val) for key, val in package["outputs"].items()] # noqa + pkg["inputs"] = [{"id": key, **val} for key, val in package["inputs"].items()] # pylint: disable=E1136 + pkg["outputs"] = [{"id": key, **val} for key, val in package["outputs"].items()] # pylint: disable=E1136 assert cwl == pkg def test_execute_inputs_capture(self):