From c9b45f58044cf46876cfdff0da7a0719e6f51c26 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sat, 22 Aug 2026 22:35:17 +0200 Subject: [PATCH] style(test): wrap the assertEqual ruff keeps reformatting The committed line was 89 characters, one over the default limit, so every autoformat run rewrote it and it kept reappearing as an unrelated worktree change. --- tests/unit/python/utils/install/test_php.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/python/utils/install/test_php.py b/tests/unit/python/utils/install/test_php.py index 09e196c064..d5d9c0b543 100644 --- a/tests/unit/python/utils/install/test_php.py +++ b/tests/unit/python/utils/install/test_php.py @@ -16,7 +16,9 @@ class TestEnsurePhpToolchain(unittest.TestCase): mock.patch.object(php_mod.subprocess, "run") as run, ): php_mod.ensure_php_toolchain() - self.assertEqual([c.args[0] for c in ensure.call_args_list], ["php", "composer"]) + self.assertEqual( + [c.args[0] for c in ensure.call_args_list], ["php", "composer"] + ) run.assert_not_called()