Skip to content

Commit 5556b85

Browse files
Apply suggestion from @greptile-apps[bot]
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 6f11eb5 commit 5556b85

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/benchmarks/test_event_creation.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,7 @@ def event_input(
9494
"lambda_event_spec": lambda: increment_spec,
9595
"lambda_event_handler": lambda: increment_handler,
9696
}
97-
try:
98-
return inputs[request.param]
99-
except KeyError as e:
100-
msg = f"Unknown event_input param: {request.param}"
101-
raise ValueError(msg) from e
97+
return inputs[request.param]
10298

10399

104100
def test_from_event_type(event_input: Any, benchmark: BenchmarkFixture):

0 commit comments

Comments
 (0)