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 0e396aa commit 769ded8Copy full SHA for 769ded8
instrumentation/opentelemetry-instrumentation-dbapi/tests/test_dbapi_integration.py
@@ -309,7 +309,9 @@ def test_executemany_comment_matches_db_statement_attribute(self):
309
)
310
311
cursor_span_id = re.search(r"[a-zA-Z0-9_]{16}", cursor.query).group()
312
- db_statement_span_id = re.search(r"[a-zA-Z0-9_]{16}", span.attributes[SpanAttributes.DB_STATEMENT]).group()
+ db_statement_span_id = re.search(
313
+ r"[a-zA-Z0-9_]{16}", span.attributes[SpanAttributes.DB_STATEMENT]
314
+ ).group()
315
self.assertEqual(cursor_span_id, db_statement_span_id)
316
317
def test_compatible_build_version_psycopg_psycopg2_libpq(self):
0 commit comments