Skip to content

Commit

Permalink
Fix warning which affects other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Oct 4, 2023
1 parent 1d3f815 commit f905945
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/aio/test_batched_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ def test_clone():
'log_batch_payload_limit': 30 * 1024 * 1024, 'task_timeout': 63, 'shutdown_timeout': 123,
'trigger_num': 25, 'trigger_interval': 3}
async_client = BatchedRPClient(*args, **kwargs)
async_client._add_current_item(BatchedTask(__empty_string(), loop=async_client._loop, name='test-321'))
async_client._add_current_item(BatchedTask(__empty_string(), loop=async_client._loop, name='test-322'))
task1 = async_client.create_task(__empty_string())
task2 = async_client.create_task(__empty_string())
task1.blocking_result()
task2.blocking_result()
async_client._add_current_item(task1)
async_client._add_current_item(task2)
client = async_client.client
step_reporter = async_client.step_reporter
cloned = async_client.clone()
Expand Down

0 comments on commit f905945

Please sign in to comment.