Skip to content

Commit 529075c

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/tests_fabric/test_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ def test_run_env_vars_unsupported_strategy(strategy, fake_script):
7878
assert e.value.code == 2
7979
# jsonargparse error message format
8080
msg = ioerr.getvalue()
81-
assert "--strategy" in msg and strategy in msg
81+
assert "--strategy" in msg
82+
assert strategy in msg
8283

8384

8485
@pytest.mark.parametrize("devices", ["1", "2", "0,", "1,0", "-1", "auto"])

0 commit comments

Comments
 (0)