From 23582dce207e1c4623ec8c331ee79ea353ad2a25 Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Mon, 22 May 2023 14:56:15 -0700 Subject: [PATCH] The linter is not always right --- tests/pytests/unit/states/test_pip.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/pytests/unit/states/test_pip.py b/tests/pytests/unit/states/test_pip.py index 307ba5e1e65..23ac8436164 100644 --- a/tests/pytests/unit/states/test_pip.py +++ b/tests/pytests/unit/states/test_pip.py @@ -67,5 +67,8 @@ def test_issue_64169(caplog): # Confirm that the state continued to install the package as expected. # Only check the 'pkgs' parameter of pip.install - mock_install_call_args, mock_install_call_kwargs = mock_pip_install.call_args + ( # pylint: disable=unpacking-non-sequence + mock_install_call_args, + mock_install_call_kwargs, + ) = mock_pip_install.call_args assert mock_install_call_kwargs["pkgs"] == pkg_to_install