cpython/Lib/test/test_sqlite3
Erlend E. Aasland 7a843e8390
[3.12] gh-118221: Always use the default row factory in sqlite3.iterdump() (#118223) (#118270)
sqlite3.iterdump() depends on the row factory returning resulting rows
as tuples; it will fail with custom row factories like for example a
dict factory.

With this commit, we explicitly reset the row factory of the cursor used
by iterdump(), so we always get predictable results. This does not
affect the row factory of the parent connection.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-25 08:33:35 +00:00
..
__init__.py
__main__.py
test_backup.py
test_cli.py [3.12] gh-108617: Extend interactive session tests for sqlite3 (GH-108556) (#108626) 2023-08-29 20:30:23 +02:00
test_dbapi.py [3.12] gh-117995: Don't raise DeprecationWarnings for indexed nameless params (GH-118001) (#118142) 2024-04-22 06:58:41 +00:00
test_dump.py [3.12] gh-118221: Always use the default row factory in sqlite3.iterdump() (#118223) (#118270) 2024-04-25 08:33:35 +00: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 GH-103805: Lib test f541 linting issue fix (#103812) 2023-04-24 23:24:49 +00:00
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