File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
web3/_utils/module_testing Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -655,11 +655,11 @@ async def test_asyncio_gather_for_multiple_requests_matches_the_responses(
655
655
assert all (k in pending .keys () for k in SOME_BLOCK_KEYS )
656
656
657
657
assert isinstance (block_num , int )
658
- assert latest ["number" ] == block_num
659
-
660
658
assert isinstance (chain_id , int )
661
659
assert isinstance (chain_id2 , int )
662
660
assert isinstance (chain_id3 , int )
661
+ # chain id is set in fixture file
662
+ assert chain_id == chain_id2 == chain_id3 == 131277322940537
663
663
664
664
@pytest .mark .asyncio
665
665
async def test_async_public_socket_api (self , async_w3 : AsyncWeb3 ) -> None :
@@ -854,7 +854,7 @@ async def test_handle_subscriptions_breaks_on_unsubscribe(
854
854
async_w3 : AsyncWeb3 ,
855
855
) -> None :
856
856
async def unsubscribe_subs (
857
- subs : List [Union [NewHeadsSubscription , LogsSubscription ]]
857
+ subs : List [Union [NewHeadsSubscription , LogsSubscription ]],
858
858
) -> None :
859
859
for sub in subs :
860
860
await sub .unsubscribe ()
You can’t perform that action at this time.
0 commit comments