Skip to content

Commit

Permalink
Note exceptions suppressed in one code path
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerbinns committed Jun 16, 2024
1 parent 12594ee commit 10e2727
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/fi.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,12 @@ def verify_exception(self, tested):
elif tested[-1][2] in {"MakeSqliteMsgFromPyException", "apsw_write_unraisable", "apswvfs_excepthook"}:
# already handling an exception
pass
elif tested[-1][2] == "apswvfsfile_xFileControl":
# we deliberately ignore errors getting VFSNAMES
if tested[-1][0] == "PyUnicode_AsUTF8" and tested[-1][4] in {"qualname", "module"}:
ok = True
elif tested[-1][0] == "sqlite3_mprintf":
ok = True
else:
ok = False
if not ok:
Expand Down

0 comments on commit 10e2727

Please sign in to comment.