Skip to content

Commit

Permalink
remove unused empty_block param
Browse files Browse the repository at this point in the history
  • Loading branch information
tmckenzie51 committed Nov 12, 2020
1 parent 3e5b91f commit 6f37e2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/test_ethereum_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class TestEthereumTesterEthModule(EthModuleTest):
test_eth_submitWork = not_implemented(EthModuleTest.test_eth_submitWork, ValueError)

def test_eth_getBlockByHash_pending(
self, web3: "Web3", empty_block: BlockData
self, web3: "Web3"
) -> None:
block = web3.eth.getBlock('pending')
assert block['hash'] is not None
Expand Down
2 changes: 1 addition & 1 deletion web3/_utils/module_testing/eth_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ def test_eth_getBlockByHash_not_found(
web3.eth.getBlock(UNKNOWN_HASH)

def test_eth_getBlockByHash_pending(
self, web3: "Web3", empty_block: BlockData
self, web3: "Web3"
) -> None:
block = web3.eth.getBlock('pending')
assert block['hash'] is None
Expand Down

0 comments on commit 6f37e2c

Please sign in to comment.