Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zhengda committed Aug 14, 2023
1 parent fd7fbbf commit f1345cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlserver/tests/test_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def run_queries(conn, queries):
for q in queries:
try:
cur.execute(q)
except pyodbc.OperationalError as err:
except pyodbc.OperationalError:
# This is expected since the query (might be) blocked
pass
# Do not allow the conn to be garbage collected and closed until the global lock is released
Expand Down

0 comments on commit f1345cc

Please sign in to comment.