Skip to content

Commit 0533463

Browse files
committed
linting issue fix
1 parent 1c37a67 commit 0533463

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/test_004_cursor.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1796,6 +1796,7 @@ def insert_nulls(thread_id):
17961796
db_connection.commit()
17971797
except Exception as e:
17981798
import traceback
1799+
17991800
with lock:
18001801
errors.append((thread_id, str(e), traceback.format_exc()))
18011802

@@ -1824,7 +1825,9 @@ def insert_nulls(thread_id):
18241825
total_count = cursor.fetchone()[0]
18251826
if total_count != num_threads * 20:
18261827
# Debug: Check what data is actually in the table
1827-
cursor.execute("SELECT thread_id, COUNT(*) as cnt FROM #pytest_concurrent_nulls GROUP BY thread_id ORDER BY thread_id")
1828+
cursor.execute(
1829+
"SELECT thread_id, COUNT(*) as cnt FROM #pytest_concurrent_nulls GROUP BY thread_id ORDER BY thread_id"
1830+
)
18281831
thread_counts = cursor.fetchall()
18291832
print(f"Thread counts: {thread_counts}")
18301833
assert (

0 commit comments

Comments
 (0)