Skip to content

Commit

Permalink
fix: type abide
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Oct 31, 2023
1 parent ebcdf9d commit 807ab12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/ape/pytest/runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ def pytest_runtest_setup(self, item):
"""
if (
self.config_wrapper.isolation is False
or isinstance(item, pytest.DoctestItem) # doctests don't have fixturenames
# doctests don't have fixturenames
or (hasattr(pytest, "DoctestItem") and isinstance(item, pytest.DoctestItem))
or "_function_isolation" in item.fixturenames # prevent double injection
):
# isolation is disabled via cmdline option
Expand Down
2 changes: 1 addition & 1 deletion src/ape/types/signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from ape.types import AddressType

# Fix 404 in doc link.
SignableMessage.__doc__ = SignableMessage.__doc__.replace(
SignableMessage.__doc__ = (SignableMessage.__doc__ or "").replace(
"EIP-191_", "`EIP-191 <https://eips.ethereum.org/EIPS/eip-191>`__"
)

Expand Down

0 comments on commit 807ab12

Please sign in to comment.