diff --git a/tests/test_cli.py b/tests/test_cli.py index b7717459ed98270b063863e91d46f8c4cd8e2ca8..2feb5e6c9370374874b959b20bf3cad5dda10283 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -303,9 +303,9 @@ def test_train_pasa_montgomery_from_checkpoint(temporary_basedir): ) extra_keyword = "Saving checkpoint" - assert extra_keyword in logging_output, ( - f"String '{extra_keyword}' did not appear at least once in the output:\nOutput:\n{logging_output}" - ) + assert ( + extra_keyword in logging_output + ), f"String '{extra_keyword}' did not appear at least once in the output:\nOutput:\n{logging_output}" @pytest.mark.skip_if_rc_var_not_set("datadir.montgomery")