We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 207b3df commit 6869155Copy full SHA for 6869155
tests/functional/test_metrics.py
@@ -552,6 +552,7 @@ def lambda_handler(evt, context):
552
553
# THEN it should raise a warning instead of throwing an exception
554
with warnings.catch_warnings(record=True) as w:
555
+ warnings.simplefilter("default")
556
lambda_handler({}, {})
557
assert len(w) == 1
558
assert str(w[-1].message) == "No metrics to publish, skipping"
0 commit comments