Skip to content
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

[3.11] gh-108558: Improve sqlite3 row factory tests (GH-108578) #108616

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 29, 2023

Add test_sqlite_row_keys() to explicitly test sqlite3.Row.keys().

Cleanups:

  • Reduce test noise by converting docstrings to regular comments
  • Reduce boilerplate code by adding a setUp() method to RowFactoryTests

(cherry picked from commit 6eaddc1)

Co-authored-by: Edward Schauman-Haigh 142528725+EddInSverige@users.noreply.github.com
Co-authored-by: Erlend E. Aasland erlend@python.org

Add test_sqlite_row_keys() to explicitly test sqlite3.Row.keys().

Cleanups:
- Reduce test noise by converting docstrings to regular comments
- Reduce boilerplate code by adding a setUp() method to RowFactoryTests

(cherry picked from commit 6eaddc1)

Co-authored-by: Edward Schauman-Haigh <142528725+EddInSverige@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
@erlend-aasland erlend-aasland merged commit cc12c96 into python:3.11 Aug 29, 2023
13 checks passed
@miss-islington miss-islington deleted the backport-6eaddc1-3.11 branch August 29, 2023 09:47
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.

4 participants