Skip to content

Commit 1576a28

Browse files
committed
Fix eth-tester tests
1 parent 0d83c74 commit 1576a28

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"flaky>=3.7.0",
2828
"hypothesis>=3.31.2",
2929
"importlib-metadata<5.0;python_version<'3.8'",
30-
"pytest>=7.0.0,<8.1",
30+
"pytest>=7.0.0",
3131
"pytest-asyncio>=0.18.1,<0.23",
3232
"pytest-mock>=1.10",
3333
"pytest-watch>=4.2",

tests/integration/test_ethereum_tester.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -652,18 +652,10 @@ def test_eth_send_transaction_no_gas(self, eth_tester, w3, unlocked_account):
652652
def test_eth_send_transaction_no_max_fee(self, eth_tester, w3, unlocked_account):
653653
super().test_eth_send_transaction_no_max_fee(w3, unlocked_account)
654654

655-
def test_eth_getBlockByNumber_safe(
655+
def test_eth_fee_history_with_integer(
656656
self, w3: "Web3", empty_block: BlockData
657657
) -> None:
658-
super().test_eth_getBlockByNumber_safe(w3, empty_block)
659-
660-
def test_eth_getBlockByNumber_finalized(
661-
self, w3: "Web3", empty_block: BlockData
662-
) -> None:
663-
super().test_eth_getBlockByNumber_finalized(w3, empty_block)
664-
665-
def test_eth_fee_history_with_no_reward_percentiles(self, w3: "Web3") -> None:
666-
super().test_eth_fee_history_no_reward_percentiles(w3)
658+
super().test_eth_fee_history_with_integer(w3, empty_block)
667659

668660
def test_eth_get_balance_with_block_identifier(self, w3: "Web3") -> None:
669661
w3.testing.mine()

0 commit comments

Comments
 (0)