mirror of
https://github.com/simonw/datasette.git
synced 2026-10-19 07:47:00 +02:00
Require Python 3.11 and remove SQLite authorizer workaround
This commit is contained in:
parent
cf113a5985
commit
2090f17d93
16 changed files with 24 additions and 47 deletions
|
|
@ -455,5 +455,4 @@ def test_analyze_disables_authorizer_on_error():
|
|||
with pytest.raises(sqlite3.OperationalError):
|
||||
analyze_sql_tables(conn, "bad SQL")
|
||||
|
||||
final_authorizer = conn.authorizers[-1]
|
||||
assert final_authorizer is None or final_authorizer() == sqlite3.SQLITE_OK
|
||||
assert conn.authorizers[-1] is None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue