Python 3.11: Enhanced error locations in tracebacks (#2771)
Python 3.11: Enhanced error locations in tracebacks (#2771)

* Python 3.11: Enhanced error locations in tracebacks

Expect ^^^^^^^^^ in tracebacks when testing them

* Update opentelemetry-sdk/tests/trace/test_trace.py

Co-authored-by: Srikanth Chekuri <115faab73a58ce45aee1ccd17455d9e523bf6942@gmail.com>
open-telemetry/opentelemetry-python,open-telemetry/opentelemetry-python