We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0d9907 commit cbb0447Copy full SHA for cbb0447
instrumentation/opentelemetry-instrumentation-sqlalchemy/tests/test_sqlalchemy.py
@@ -188,7 +188,7 @@ def test_instrument_engine_from_config(self):
188
189
engine = engine_from_config({"sqlalchemy.url": "sqlite:///:memory:"})
190
cnx = engine.connect()
191
- cnx.execute("SELECT 1 + 1;").fetchall()
+ cnx.execute(text("SELECT 1 + 1;")).fetchall()
192
spans = self.memory_exporter.get_finished_spans()
193
194
self.assertEqual(len(spans), 2)
0 commit comments