Skip to content

Commit 7532c01

Browse files
committed
Remove uninstallFilter DeprecationWarning
1 parent 117ea26 commit 7532c01

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

newsfragments/1935.misc.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removes some stray depreaction warnings for getBalance, uninstallFilter, and protocolVersion

web3/_utils/module_testing/eth_module.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ def test_eth_newFilter(self, web3: "Web3") -> None:
13061306
assert is_list_like(logs)
13071307
assert not logs
13081308

1309-
result = web3.eth.uninstallFilter(filter.filter_id)
1309+
result = web3.eth.uninstall_filter(filter.filter_id)
13101310
assert result is True
13111311

13121312
def test_eth_newFilter_deprecated(self, web3: "Web3") -> None:

0 commit comments

Comments
 (0)