Skip to content

Commit

Permalink
Fix test failing on master due to bad auto-merge (#16118)
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Dec 19, 2022
1 parent eee1a29 commit 33c0b9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/tests_app/runners/backends/test_mp_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
from lightning_app.runners.backends import MultiProcessingBackend


@mock.patch("lightning_app.core.app.AppStatus")
@mock.patch("lightning_app.runners.backends.mp_process.multiprocessing")
def test_backend_create_work_with_set_start_method(multiprocessing_mock):
def test_backend_create_work_with_set_start_method(multiprocessing_mock, *_):
backend = MultiProcessingBackend(entrypoint_file="fake.py")
work = Mock(spec=LightningWork)
work._start_method = "test_start_method"
Expand Down

0 comments on commit 33c0b9a

Please sign in to comment.