Skip to content

Commit 9b48f47

Browse files
author
Pranav Madhikar
committed
Resolve some flake8 issues
1 parent f64fb5d commit 9b48f47

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

web3/_utils/module_testing/eth_module.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ async def test_async_eth_syncing(self, async_w3: "Web3") -> None:
11001100
async def test_async_eth_get_storage_at(
11011101
self, async_w3: "Web3", emitter_contract_address: ChecksumAddress
11021102
) -> None:
1103-
storage = await async_w3.eth.get_storage_at(emitter_contract_address, 0) # type: ignore
1103+
storage = await async_w3.eth.get_storage_at(emitter_contract_address, 0) # type: ignore
11041104
assert isinstance(storage, HexBytes)
11051105

11061106
@pytest.mark.asyncio
@@ -1109,14 +1109,16 @@ async def test_async_eth_get_storage_at_ens_name(
11091109
self, async_w3: "Web3", emitter_contract_address: ChecksumAddress
11101110
) -> None:
11111111
with ens_addresses(async_w3, {'emitter.eth': emitter_contract_address}):
1112-
storage = await async_w3.eth.get_storage_at('emitter.eth', 0) # type: ignore
1112+
storage = await async_w3.eth.get_storage_at('emitter.eth', 0) # type: ignore
11131113
assert isinstance(storage, HexBytes)
11141114

11151115
@pytest.mark.asyncio
11161116
async def test_async_eth_get_storage_at_invalid_address(self, async_w3: "Web3") -> None:
1117-
coinbase = await async_w3.eth.coinbase # type: ignore
1117+
coinbase = await async_w3.eth.coinbase # type: ignore
11181118
with pytest.raises(InvalidAddress):
1119-
await async_w3.eth.get_storage_at(ChecksumAddress(HexAddress(HexStr(coinbase.lower()))), 0) # type: ignore
1119+
await async_w3.eth.get_storage_at(
1120+
ChecksumAddress(HexAddress(HexStr(coinbase.lower()))),
1121+
0) # type: ignore
11201122

11211123
def test_async_provider_default_account(
11221124
self,

0 commit comments

Comments
 (0)