mirror of
https://github.com/beshu-tech/deltaglider.git
synced 2026-11-13 12:33:39 +01:00
style: Format test_stats_algorithm.py with ruff
This commit is contained in:
1 parent
52eb5bba21
commit
a9a1396e6e
1 file changed
+1
-3
@@ -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