cpython/Lib/test/test_sqlite3
Erlend E. Aasland e38b43c213
gh-118221: Always use the default row factory in sqlite3.iterdump() (#118223)
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 10:11:45 +02:00
..
__init__.py
__main__.py
test_backup.py gh-105539: Fix ResourceWarning from unclosed SQLite connections in test_sqlite3 (#108360) 2023-08-23 10:10:08 +00:00
test_cli.py gh-108617: Extend interactive session tests for sqlite3 (GH-108556) 2023-08-29 13:20:32 +03:00
test_dbapi.py gh-117995: Don't raise DeprecationWarnings for indexed nameless params (#118001) 2024-04-22 08:43:20 +02:00
test_dump.py gh-118221: Always use the default row factory in sqlite3.iterdump() (#118223) 2024-04-25 10:11:45 +02:00
test_factory.py gh-108558: Improve sqlite3 row factory tests (#108578) 2023-08-29 08:51:36 +00:00
test_hooks.py gh-108278: Deprecate passing the first param of sqlite3.Connection callback APIs by keyword (#108632) 2023-08-29 22:02:12 +02:00
test_regression.py gh-105539: Explict resource management for connection objects in sqlite3 tests (#108017) 2023-08-17 08:45:48 +02:00
test_transactions.py gh-108550: Speed up sqlite3 tests (#108551) 2023-08-28 14:17:34 +02:00
test_types.py
test_userfunctions.py gh-109653: Remove unused imports in the Lib/ directory (#109803) 2023-09-24 15:07:23 +01:00
util.py gh-109653: Remove unused imports in the Lib/ directory (#109803) 2023-09-24 15:07:23 +01:00