getsentry/sentry-python

Hidden `AttributeError` in openai tests

Closed this issue · 1 comments

How do you use Sentry?

Sentry Saas (sentry.io)

Version

latest

Steps to Reproduce

tox -e py3.12-openai-latest

The tests for openai-latest show up green, but if you check the output there's a problem: AttributeError: 'Span' object has no attribute '_context_manager_state'

Expected Result

There is no error / if there is, it fails the whole test run

Actual Result

There is an error and it doesn't fail the test