Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Apr 29, 2024
1 parent f1d0d7b commit 161afc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion boa_zksync/contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
generate_source_for_arbitrary_stmt,
detect_statement_type,
)
from boa.contracts.vyper.vyper_contract import VyperContract
from boa.rpc import to_bytes
from boa.vyper.contract import VyperContract
from cached_property import cached_property
from vyper.semantics.analysis.base import VarInfo
from vyper.semantics.types.function import ContractFunctionT
Expand Down
6 changes: 3 additions & 3 deletions tests/test_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ def _javascript_call(js_func: str, *args, timeout_message: str) -> Any:
def patch_js():
# we call MonkeyPatch directly because the default `monkeypatch` fixture has a function scope
# this clashes with the boa plugin that tries to clean up the env after each test.
mpatch = MonkeyPatch()
mpatch.setattr("boa.integrations.jupyter.browser._javascript_call", _javascript_call)
patch = MonkeyPatch()
patch.setattr("boa.integrations.jupyter.browser._javascript_call", _javascript_call)
yield
mpatch.undo()
patch.undo()


@pytest.fixture
Expand Down

0 comments on commit 161afc5

Please sign in to comment.