File tree 2 files changed +2
-2
lines changed
aws_lambda_powertools/utilities/idempotency
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def handle(self) -> Any:
72
72
# IdempotencyInconsistentStateError can happen under rare but expected cases
73
73
# when persistent state changes in the small time between put & get requests.
74
74
# In most cases we can retry successfully on this exception.
75
- for i in range (MAX_RETRIES + 1 ):
75
+ for i in range (MAX_RETRIES + 1 ): # pragma: no cover
76
76
try :
77
77
return self ._process_idempotency ()
78
78
except IdempotencyInconsistentStateError :
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ pydantic = ["pydantic", "email-validator"]
60
60
61
61
[tool .coverage .run ]
62
62
source = [" aws_lambda_powertools" ]
63
- omit = [" tests/*" , " aws_lambda_powertools/exceptions/*" ]
63
+ omit = [" tests/*" , " aws_lambda_powertools/exceptions/*" , " aws_lambda_powertools/utilities/parser/types.py " ]
64
64
branch = true
65
65
66
66
[tool .coverage .html ]
You can’t perform that action at this time.
0 commit comments