Skip to content

Commit

Permalink
Merge branch 'main' into drop-unsupported-python-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl authored Apr 17, 2024
2 parents 9ff7214 + 82b0795 commit f96fdef
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ def test_task_raises(self):

self.assertIn(SpanAttributes.EXCEPTION_STACKTRACE, event.attributes)

self.assertEqual(
event.attributes[SpanAttributes.EXCEPTION_TYPE], "CustomError"
# TODO: use plain assertEqual after 1.25 is released (https://github.com/open-telemetry/opentelemetry-python/pull/3837)
self.assertIn(
"CustomError", event.attributes[SpanAttributes.EXCEPTION_TYPE]
)

self.assertEqual(
Expand Down

0 comments on commit f96fdef

Please sign in to comment.