FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-93115: Fix error code tests in test_sqlite3.test_dbapi by The-Compiler · Pull Request #93116 · python/cpython · GitHub

Repository navigation

GH-93115: Fix error code tests in test_sqlite3.test_dbapi - #93116

Merged
erlend-aasland merged 1 commit into
python:mainfrom
The-Compiler:fix-sqlite
May 23, 2022
Merged

erlend-aasland merged 1 commit into
python:mainfrom
The-Compiler:fix-sqlite

Conversation

Copy link
Copy Markdown
Contributor

They used sqlite.version_info (2.6.0 for the past 12 years) rather than .sqlite_version_info. Also, the last statement raised a NameError.

Runs fine for me on Archlinux with sqlite 3.38.5.

Closes #93115.

They used sqlite.version_info (2.6.0 for the past 12 years) rather than .sqlite_version_info. Also, the last statement raised a NameError.

Copy link
Copy Markdown
Contributor

Thanks for the report and fix, and thanks for your interest in improving CPython!

erlend-aasland added the needs backport to 3.11 only security fixes label May 23, 2022

Copy link
Copy Markdown
Contributor

Thanks @The-Compiler for the PR, and @erlend-aasland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

bedevere-bot removed the needs backport to 3.11 only security fixes label May 23, 2022

Copy link
Copy Markdown

GH-93128 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 23, 2022
…ythonGH-93116)

(cherry picked from commit d5f0dd1)

Co-authored-by: Florian Bruhin <me@the-compiler.org>
miss-islington added a commit that referenced this pull request May 23, 2022
(cherry picked from commit d5f0dd1)

Co-authored-by: Florian Bruhin <me@the-compiler.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_sqlite3.test_dbapi: Extended error codes aren't actually tested

4 participants


Back | FazBrowse Home | New Git URL