Skip to content

Commit

Permalink
Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgesFTW committed Dec 1, 2023
1 parent 68222e0 commit 95136fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_upgrade_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_upgrade_v2_v3():
# should throw an exception because logging
# should not exist in a V2 database
print([ele for ele in conn.execute("select * from logging")])
assert False, f"{filename} is a v3 database"
raise AssertionError(f"{filename} is a v3 database")
except sqlite3.OperationalError:
pass # v2 should not have a logging table
conn.close()
Expand All @@ -28,5 +28,5 @@ def test_upgrade_v2_v3():
try:
print([ele for ele in conn.execute("select * from logging")])
except sqlite3.OperationalError:
assert False, f"{filename} is not a v3 database"
raise AssertionError(f"{filename} is not a v3 database")
conn.close()

0 comments on commit 95136fb

Please sign in to comment.