Skip to content

Commit c0d62ff

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d546841 commit c0d62ff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pydra/engine/tests/test_task.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,8 +1045,10 @@ def test_audit_shellcommandtask(tmpdir):
10451045

10461046
def test_audit_shellcommandtask_version(tmpdir):
10471047
import subprocess as sp
1048-
version_cmd = (sp.run("less --version", shell=True,
1049-
stdout=sp.PIPE).stdout.decode("utf-8"))
1048+
1049+
version_cmd = sp.run("less --version", shell=True, stdout=sp.PIPE).stdout.decode(
1050+
"utf-8"
1051+
)
10501052
version_cmd = version_cmd.splitlines()[0]
10511053
cmd = "less"
10521054
shelly = ShellCommandTask(
@@ -1057,7 +1059,6 @@ def test_audit_shellcommandtask_version(tmpdir):
10571059
messengers=FileMessenger(),
10581060
)
10591061

1060-
10611062
import glob
10621063

10631064
shelly.cache_dir = tmpdir

0 commit comments

Comments
 (0)