Skip to content

Commit 769ded8

Browse files
Appease ruff
1 parent 0e396aa commit 769ded8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

instrumentation/opentelemetry-instrumentation-dbapi/tests/test_dbapi_integration.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,9 @@ def test_executemany_comment_matches_db_statement_attribute(self):
309309
)
310310

311311
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()
312+
db_statement_span_id = re.search(
313+
r"[a-zA-Z0-9_]{16}", span.attributes[SpanAttributes.DB_STATEMENT]
314+
).group()
313315
self.assertEqual(cursor_span_id, db_statement_span_id)
314316

315317
def test_compatible_build_version_psycopg_psycopg2_libpq(self):

0 commit comments

Comments
 (0)