From 329116d9ad0c64db3800ed17ea0530ad68f95d4b Mon Sep 17 00:00:00 2001 From: natsuoto <279971144+natsuoto@users.noreply.github.com> Date: Fri, 10 Jul 2026 16:27:09 +0530 Subject: chore: apply ruff lint and format fixes --- tests/errors/errors.test.py | 6 ++++-- tests/errors/formatting.test.py | 4 +--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/errors') diff --git a/tests/errors/errors.test.py b/tests/errors/errors.test.py index 5b48165..74acaa4 100644 --- a/tests/errors/errors.test.py +++ b/tests/errors/errors.test.py @@ -129,8 +129,10 @@ def test_must_have_a_smaller_value_reports_the_codepoints(): error = MustHaveASmallerValueError("z", "a") text = str(error) assert "range bounds are inverted" in text - assert "'z'" in text and "'a'" in text - assert "= 122" in text and "= 97" in text + assert "'z'" in text + assert "'a'" in text + assert "= 122" in text + assert "= 97" in text def test_must_be_less_than(): diff --git a/tests/errors/formatting.test.py b/tests/errors/formatting.test.py index 8cdf0ab..314aff1 100644 --- a/tests/errors/formatting.test.py +++ b/tests/errors/formatting.test.py @@ -114,9 +114,7 @@ def test_compose_annotated_message_when_caller_context_is_available(): def test_compose_annotated_message_falls_back_when_caller_context_is_none(): - with mock.patch( - "edify.errors.formatting.capture_caller_context", return_value=None - ): + with mock.patch("edify.errors.formatting.capture_caller_context", return_value=None): output = compose_annotated_message( summary="bad thing happened", trigger_hint="here", -- cgit v1.2.3