Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kclowes committed Jun 13, 2019
1 parent 7704576 commit 23648a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions tests/core/contracts/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,11 +447,19 @@ def EventContract(web3_empty, EVENT_CONTRACT):


@pytest.fixture()
def event_contract(web3_empty, EventContract, wait_for_transaction, wait_for_block, address_conversion_func):
def event_contract(
web3_empty,
EventContract,
wait_for_transaction,
wait_for_block,
address_conversion_func):

web3 = web3_empty

wait_for_block(web3)
deploy_txn_hash = EventContract.constructor().transact({'from': web3.eth.coinbase, 'gas': 1000000})
deploy_txn_hash = EventContract.constructor().transact({
'from': web3.eth.coinbase, 'gas': 1000000
})
deploy_receipt = wait_for_transaction(web3, deploy_txn_hash)
contract_address = address_conversion_func(deploy_receipt['contractAddress'])

Expand Down
2 changes: 1 addition & 1 deletion tests/core/contracts/test_extracting_event_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
)

from web3._utils.events import (
get_event_data,
EventLogErrorFlags,
get_event_data,
)


Expand Down

0 comments on commit 23648a8

Please sign in to comment.