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 May 15, 2024
1 parent 3ccf5d4 commit 647f1ae
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tests/test_subscriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def test_callback(data):
tasks = create_tasks()
total = len(tasks)
subscriber = TQDMProgressSubscriber(
test_callback,
asyncio.as_completed(tasks),
test_callback,
asyncio.as_completed(tasks),
total=total,
mininterval=0,
)
Expand Down Expand Up @@ -66,11 +66,7 @@ def test_callback(data):

tasks = create_tasks(10)
total = len(tasks)
subscriber = TQDMProgressSubscriber(
test_callback,
total=total,
mininterval=0
)
subscriber = TQDMProgressSubscriber(test_callback, total=total, mininterval=0)

# Simulate updatse to trigger the callback
for task in asyncio.as_completed(tasks):
Expand Down

0 comments on commit 647f1ae

Please sign in to comment.