Skip to content

Commit 4c4ac68

Browse files
committed
fmt
1 parent d8ca85e commit 4c4ac68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ def test_fastapi_unhandled_exception(self):
238238
"""If the application has an unhandled error the instrumentation should capture that a 500 response is returned."""
239239
try:
240240
resp = self._client.get("/error")
241-
assert resp.status_code == 500, resp.content # pragma: no cover, for debugging this test if an exception is _not_ raised
241+
assert (
242+
resp.status_code == 500
243+
), resp.content # pragma: no cover, for debugging this test if an exception is _not_ raised
242244
except UnhandledException:
243245
pass
244246
else:

0 commit comments

Comments
 (0)