File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,6 @@ def test_transaction_abort_then_retry_spans():
150150 from opentelemetry .trace .status import StatusCode
151151 from opentelemetry .sdk .trace import TracerProvider
152152 from opentelemetry .sdk .trace .sampling import ALWAYS_ON
153- from opentelemetry import trace
154153
155154 PROJECT = _helpers .EMULATOR_PROJECT
156155 CONFIGURATION_NAME = "config-name"
@@ -161,11 +160,8 @@ def test_transaction_abort_then_retry_spans():
161160 LABELS = {"test" : "true" }
162161
163162 counters = dict (aborted = 0 )
164- already_aborted = False
165163
166164 def select_in_txn (txn ):
167- from google .rpc import error_details_pb2
168-
169165 results = txn .execute_sql ("SELECT 1" )
170166 for row in results :
171167 _ = row
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ def test_spans_bind_get(self):
243243 database ._sessions .extend (SESSIONS )
244244 pool .bind (database )
245245
246- with trace_call ("pool.Get" , SESSIONS [0 ]) as span :
246+ with trace_call ("pool.Get" , SESSIONS [0 ]):
247247 pool .get ()
248248
249249 span_list = self .get_finished_spans ()
You can’t perform that action at this time.
0 commit comments