Skip to content

Commit 4310e6c

Browse files
committed
changed type from ParameterSet to a union of the three request types, added mypy silencer for type warning
1 parent e22fe91 commit 4310e6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/prague/eip7685_general_purpose_el_requests/test_multi_type_requests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def single_consolidation_from_contract(i: int) -> ConsolidationRequestContract:
105105
def get_permutations(
106106
n: int = 3,
107107
) -> Generator[
108-
ParameterSet,
108+
DepositRequest | WithdrawalRequest | ConsolidationRequest,
109109
None,
110110
None,
111111
]:
@@ -125,7 +125,7 @@ def get_permutations(
125125
),
126126
]
127127
for perm in permutations(requests, n):
128-
yield pytest.param([p[1] for p in perm], id="+".join([p[0] for p in perm]))
128+
yield pytest.param([p[1] for p in perm], id="+".join([p[0] for p in perm])) # type: ignore
129129

130130

131131
def get_eoa_permutations(n: int = 3) -> Generator[ParameterSet, None, None]:

0 commit comments

Comments
 (0)