Skip to content

Commit

Permalink
chore: fix sourcery err (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Nov 2, 2024
1 parent 80d42ee commit 6dbf724
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_dank_mids.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,11 @@ async def test_other_methods():
"""
Test various other RPC methods.
"""
work = [dank_web3.eth.block_number for i in range(50)]
work.append(dank_web3.eth.get_block('0xe25822'))
work.append(dank_web3.manager.coro_request(RPC.web3_clientVersion, []))
work = [
*(dank_web3.eth.block_number for _ in range(50)),
dank_web3.eth.get_block('0xe25822'),
dank_web3.manager.coro_request(RPC.web3_clientVersion, []),
]
results = await asyncio.gather(*work)
assert results
assert results[-2].timestamp
Expand Down

0 comments on commit 6dbf724

Please sign in to comment.