From 5c4c773de4d543c635c6821e96571ce8b2d777bd Mon Sep 17 00:00:00 2001 From: Francis Charette-Migneault Date: Fri, 10 Jun 2022 18:12:48 -0400 Subject: [PATCH] remove unused var --- tests/processes/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/processes/test_utils.py b/tests/processes/test_utils.py index a90c28a27..8b03164fb 100644 --- a/tests/processes/test_utils.py +++ b/tests/processes/test_utils.py @@ -326,7 +326,7 @@ def raise_deploy(*_, **__): assert mocked.call_count == 1 with mock.patch("weaver.processes.utils.deploy_process_from_payload", side_effect=raise_deploy) as mocked: result = None - with pytest.raises(PackageRegistrationError) as exc: + with pytest.raises(PackageRegistrationError): settings["weaver.cwl_processes_register_error"] = "true" result = register_cwl_processes_from_config(settings) assert mocked.call_count == 1