style: Format test_stats_algorithm.py with ruff

This commit is contained in:
Simone Scarduzio
2025-10-11 14:17:49 +02:00
parent 52eb5bba21
commit a9a1396e6e

View File

@@ -329,9 +329,7 @@ class TestBucketStatsAlgorithm:
mock_client.service.storage.head.side_effect = mock_head
# Execute with mocked ThreadPoolExecutor
with patch(
"concurrent.futures.ThreadPoolExecutor"
) as mock_executor:
with patch("concurrent.futures.ThreadPoolExecutor") as mock_executor:
mock_pool = MagicMock()
mock_executor.return_value.__enter__.return_value = mock_pool