New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-45512: Raise exception if sqlite3.Connection.__init__ is called with bad isolation level #29561
Conversation
cc. @corona10: Make sure we always raise an exception when |
Adding skip news, since this regression is not present in any official release. It is just an amendment of GH-29053. |
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
@corona10: Please replace |
|
…ith bad isolation level (python#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>
https://bugs.python.org/issue45512