From 1c79615955260aaa5f243991359f1dcdc7506226 Mon Sep 17 00:00:00 2001 From: "Bradley A. Thornton" Date: Wed, 31 Jul 2024 14:20:18 -0700 Subject: [PATCH] Fix docstrings --- tests/unit/test_config.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/unit/test_config.py b/tests/unit/test_config.py index 255f889..8d86648 100644 --- a/tests/unit/test_config.py +++ b/tests/unit/test_config.py @@ -466,8 +466,6 @@ def mock_subprocess_run( *args: The positional arguments. **kwargs: The keyword arguments. - Raises: - subprocess.CalledProcessError: For the venv command Returns: The completed process. @@ -513,11 +511,9 @@ def mock_subprocess_run( """Mock the subprocess.run function. Args: - args: The positional arguments. - kwargs: The keyword arguments. + *args: The positional arguments. + **kwargs: The keyword arguments. - Raises: - subprocess.CalledProcessError: For the get_paths command Returns: The completed process. @@ -566,8 +562,6 @@ def mock_subprocess_run( *args: The positional arguments. **kwargs: The keyword arguments. - Raises: - subprocess.CalledProcessError: For the sysconfig command Returns: The completed process.