From 2d2e479e43b643439b946167031c4d1b83165ac0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 18:22:52 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- parfive/tests/test_downloader.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/parfive/tests/test_downloader.py b/parfive/tests/test_downloader.py index 5109738..aef4ec5 100644 --- a/parfive/tests/test_downloader.py +++ b/parfive/tests/test_downloader.py @@ -544,5 +544,10 @@ def test_download_out_of_main_thread(httpserver, tmpdir, recwarn): validate_test_file(thread.result) assert len(recwarn) > 0 - assert any(['This download has been started in a thread which is not the main thread. You will not be able to interrupt the download.' == - w.message.args[0] for w in recwarn]) \ No newline at end of file + assert any( + [ + "This download has been started in a thread which is not the main thread. You will not be able to interrupt the download." + == w.message.args[0] + for w in recwarn + ] + )