Skip to content

Commit

Permalink
close cursor+connection - maybe helps with test failures on CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Oct 3, 2023
1 parent 28328fb commit 7386971
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mergin/test/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,8 @@ def _use_wal(db_file):
con = sqlite3.connect(db_file)
cursor = con.cursor()
cursor.execute("PRAGMA journal_mode=wal;")
cursor.close()
con.close()


def _create_test_table(db_file):
Expand Down

0 comments on commit 7386971

Please sign in to comment.