]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-108558: Improve sqlite3 row factory tests (#108578)
authorEdward Schauman-Haigh <142528725+EddInSverige@users.noreply.github.com>
Tue, 29 Aug 2023 08:51:36 +0000 (10:51 +0200)
committerGitHub <noreply@github.com>
Tue, 29 Aug 2023 08:51:36 +0000 (08:51 +0000)
commit6eaddc10e972273c1aed8b88c538e65e4773496e
tree5118b92e9132c520128b63413de1d13f104acced
parent5f85b443f7119e1c68a15fc9a342655e544d2852
gh-108558: Improve sqlite3 row factory tests (#108578)

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

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Lib/test/test_sqlite3/test_factory.py