Skip to content

Commit

Permalink
Update tests/test_Arbin.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Kerr <[email protected]>
  • Loading branch information
ml-evs and chatcannon authored Mar 2, 2024
1 parent a845731 commit fbc90fc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/test_Arbin.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,9 @@ def test_convert_Arbin_to_sqlite_function_in_memory(testdata_dir, tmpdir, basena
"""Convert an Arbin file to an in-memory SQLite database."""
res_file = os.path.join(testdata_dir, basename + ".res")
conn = None
try:
conn = res2sqlite.convert_arbin_to_sqlite(res_file)
assert conn is not None
with res2sqlite.convert_arbin_to_sqlite(res_file) as conn:
csr = conn.execute("SELECT * FROM Channel_Normal_Table;")
csr.fetchone()
finally:
if conn is not None:
conn.close()


@pytest.mark.skipif(
Expand Down

0 comments on commit fbc90fc

Please sign in to comment.