Upgrade black

This commit is contained in:
Alexander Hess 2026-11-25 10:24:07 +01:00
commit dbdce83067
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -73,7 +73,8 @@ class TestMethods:
def test_first_order_at_non_existing_pixel(self, order_history, good_pixel_id):
"""Test `OrderHistory.first_order_at()` with bad input."""
with pytest.raises(
LookupError, match='`pixel_id` is not in the `grid`',
LookupError,
match='`pixel_id` is not in the `grid`',
):
order_history.first_order_at(-1)
@ -87,6 +88,7 @@ class TestMethods:
def test_last_order_at_non_existing_pixel(self, order_history, good_pixel_id):
"""Test `OrderHistory.last_order_at()` with bad input."""
with pytest.raises(
LookupError, match='`pixel_id` is not in the `grid`',
LookupError,
match='`pixel_id` is not in the `grid`',
):
order_history.last_order_at(-1)