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 Dec 5, 2024
1 parent 9dea306 commit ae25a0b
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 ae25a0b

Please sign in to comment.