bpo-44491: Allow clearing the sqlite3 authoriser callback (GH-26863)

This commit is contained in:
Erlend Egeberg Aasland 2021-06-24 16:35:57 +02:00 committed by GitHub
parent 18ba1ff6a4
commit b19f455339
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 33 additions and 6 deletions

View file

@ -652,6 +652,7 @@ class ThreadTests(unittest.TestCase):
lambda: self.con.rollback(),
lambda: self.con.close(),
lambda: self.con.set_trace_callback(None),
lambda: self.con.set_authorizer(None),
lambda: self.con.create_collation("foo", None),
]
for fn in fns: