From 56527c650bb9717710d345ea7ffac1fadbe6f703 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:41:01 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/transports/test_all_plugins.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/transports/test_all_plugins.py b/tests/transports/test_all_plugins.py index 8abc6fef4..1fd5a810a 100644 --- a/tests/transports/test_all_plugins.py +++ b/tests/transports/test_all_plugins.py @@ -1032,7 +1032,7 @@ def test_exec_pwd(custom_transport, remote_tmp_path): assert transport.isdir(subfolder_fullpath) - retcode, stdout, stderr = transport.exec_command_wait(f'ls {str(remote_tmp_path)}') + retcode, stdout, stderr = transport.exec_command_wait(f'ls {remote_tmp_path!s}') assert retcode == 0 assert stdout.strip() in subfolder_fullpath assert stderr == '' @@ -1258,4 +1258,3 @@ def test_asynchronous_execution(custom_transport, tmp_path): except ProcessLookupError: # If the process is already dead (or has never run), I just ignore the error pass -