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

gh-99659: Use correct exceptions in sqlite3 bigmem tests by ambv · Pull Request #99660 · python/cpython · GitHub

/ cpython Public

gh-99659: Use correct exceptions in sqlite3 bigmem tests - #99660

Merged
ambv merged 1 commit into
python:mainfrom
ambv:sqlite3-bigmem-dataerror
Nov 21, 2022
Merged

gh-99659: Use correct exceptions in sqlite3 bigmem tests#99660
ambv merged 1 commit into
python:mainfrom
ambv:sqlite3-bigmem-dataerror

Conversation

ambv commented Nov 21, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

The tests in question were added in 0eec627 by Serhiy. Apparently, sqlite3 changed exceptions raised in those cases in the mean time but the tests never ran because they require a high -M setting in the test runner.

The tests in question were added in 0eec627 by Serhiy. Apparently,
sqlite3 changed exceptions raised in those cases in the mean time but
the tests never ran because they require a high `-M` setting in the
test runner.
ambv force-pushed the sqlite3-bigmem-dataerror branch from 3eec87c to 6d69bd1 Compare November 21, 2022 18:21
ambv added needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels Nov 21, 2022
ambv merged commit 2781ec9 into python:main Nov 21, 2022

Copy link
Copy Markdown
Contributor

Thanks @ambv for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

ambv deleted the sqlite3-bigmem-dataerror branch November 21, 2022 20:44

Copy link
Copy Markdown
Contributor

Sorry, @ambv, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 2781ec9b0e41a62cecc189c22dfc849f9a56927c 3.10

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 21, 2022
…nGH-99660)

The tests in question were added in 0eec627 by Serhiy. Apparently,
sqlite3 changed exceptions raised in those cases in the mean time but
the tests never ran because they require a high `-M` setting in the
test runner.
(cherry picked from commit 2781ec9)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>

Copy link
Copy Markdown

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

bedevere-bot removed the needs backport to 3.11 only security fixes label Nov 21, 2022
ambv removed the needs backport to 3.10 only security fixes label Nov 21, 2022

ambv commented Nov 21, 2022

Copy link
Copy Markdown
Contributor Author

Nevermind the 3.10 backport, those test methods don't exist there (and the test file lives in Lib/sqlite/test/ on that branch).

miss-islington added a commit that referenced this pull request Nov 22, 2022
The tests in question were added in 0eec627 by Serhiy. Apparently,
sqlite3 changed exceptions raised in those cases in the mean time but
the tests never ran because they require a high `-M` setting in the
test runner.
(cherry picked from commit 2781ec9)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
ambv restored the sqlite3-bigmem-dataerror branch December 5, 2022 16:30
ambv deleted the sqlite3-bigmem-dataerror branch November 1, 2023 13:15
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

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL