mirror of
https://github.com/beshu-tech/deltaglider.git
synced 2026-01-11 22:50:24 +01:00
style: Format test_stats_algorithm.py with ruff
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user