diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-11-15 13:55:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 21:55:38 +0900 |
commit | 822c3dcce3996e411c1ff5c432c6ac7d2845cfd6 (patch) | |
tree | de99f1c8a4bd45d891568a449846053fa9e3b7de /Python/specialize.c | |
parent | b567b9d74bd9e476a3027335873bb0508d6e450f (diff) | |
download | cpython3-822c3dcce3996e411c1ff5c432c6ac7d2845cfd6.tar.gz |
bpo-45512: Raise exception if sqlite3.Connection.__init__ is called with bad isolation level (#29561)
* bpo-45512: Raise sqlite3.Connection.__init__ is called with bad isolation level
* Also explicitly test allowed isolation levels
* Use subTest for better error messages if something goes wrong
* Update Lib/test/test_sqlite3/test_dbapi.py
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Diffstat (limited to 'Python/specialize.c')
0 files changed, 0 insertions, 0 deletions