diff --git a/tests/tests_app/runners/test_cloud.py b/tests/tests_app/runners/test_cloud.py index a27a35a122dabc..f00ef238de5c04 100644 --- a/tests/tests_app/runners/test_cloud.py +++ b/tests/tests_app/runners/test_cloud.py @@ -1527,9 +1527,7 @@ def run(self): assert not (path / ".lightningignore").exists() - with mock.patch( - "lightning_app.source_code.local._copytree", wraps=_copytree - ) as copy_mock, caplog.at_level( + with mock.patch("lightning_app.source_code.local._copytree", wraps=_copytree) as copy_mock, caplog.at_level( logging.WARN ): cloud_runtime.dispatch()