From 51baefcd24dbb53f18da6890ab3e06a1435853d2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 16:08:49 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- tests/unit_tests/test_main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/unit_tests/test_main.py b/tests/unit_tests/test_main.py index fc526745f6..fdfa0f5d5f 100644 --- a/tests/unit_tests/test_main.py +++ b/tests/unit_tests/test_main.py @@ -1678,7 +1678,10 @@ def test_upload_program_serial_partition_table( args = MockArgs(partition_table=True) devices = ["/dev/ttyUSB0"] - with pytest.raises(EsphomeError, match="The option --partition-table can only be used for Over The Air updates"): + with pytest.raises( + EsphomeError, + match="The option --partition-table can only be used for Over The Air updates", + ): upload_program(config, args, devices)