cpython/Lib/test/test_sqlite3
Miss Islington (bot) 1478a386e6
[3.12] gh-108558: Improve sqlite3 row factory tests (GH-108578) (#108615)
* gh-108558: Improve sqlite3 row factory tests (GH-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

(cherry picked from commit 6eaddc10e9)

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

* Fix backport

---------

Co-authored-by: Edward Schauman-Haigh <142528725+EddInSverige@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
2023-08-29 20:29:52 +02:00
..
__init__.py
__main__.py
test_backup.py
test_cli.py [3.12] gh-108550: Speed up sqlite3 tests (GH-108551) (#108566) 2023-08-29 00:26:29 +02:00
test_dbapi.py [3.12] gh-108550: Speed up sqlite3 tests (GH-108551) (#108566) 2023-08-29 00:26:29 +02:00
test_dump.py [3.12] gh-64662: Fix virtual table support in sqlite3.Connection.iterdump (#108340) (#108563) 2023-08-29 00:25:35 +02:00
test_factory.py [3.12] gh-108558: Improve sqlite3 row factory tests (GH-108578) (#108615) 2023-08-29 20:29:52 +02:00
test_hooks.py
test_regression.py
test_transactions.py [3.12] gh-108550: Speed up sqlite3 tests (GH-108551) (#108566) 2023-08-29 00:26:29 +02:00
test_types.py GH-103857: Deprecate utcnow and utcfromtimestamp (#103858) 2023-04-27 11:32:30 -06:00
test_userfunctions.py [3.12] gh-105557: Remove duplicate sqlite3 test method (GH-105558) (#105561) 2023-06-09 17:15:55 +00:00