def METHOD_NAME(self):
    assert_raises_rpc_error(
        -32001,
        "Custom error: fromBlock (0x1) > toBlock (0x0)",
        self.nodes[0].eth_newFilter,
        {"fromBlock": "0x1", "toBlock": "0x0"},
    )