Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 4, 2024
1 parent 27b6f15 commit 2d2e479
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions parfive/tests/test_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
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
]
)

0 comments on commit 2d2e479

Please sign in to comment.