Skip to content

Commit

Permalink
ruff: re-format with ruff
Browse files Browse the repository at this point in the history
deviations from black:
* astral-sh/ruff#8598
  • Loading branch information
mirecheck committed Jan 14, 2025
1 parent bcb7b9b commit 0d51e07
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pcs_test/tier0/daemon/async_tasks/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@ def prepare_scheduler(self):
self.logging_queue,
# mp.Queue(),
]
self.mp_pool_mock = (
mock.patch("multiprocessing.Pool", spec=mp.Pool)
.start()
.return_value
) = mock.Mock()
self.mp_pool_mock = mock.patch(
"multiprocessing.Pool", spec=mp.Pool
).start().return_value = mock.Mock()
# This might be needed when logger is called by get_logger, but is it?
self.scheduler = scheduler.Scheduler(
scheduler.SchedulerConfig(
Expand Down

0 comments on commit 0d51e07

Please sign in to comment.