Just compiled 3.13.0rc2 today and ran into this issue with test_sqlite3. A commit added an intentional foreign key violation in test_dump.py, but the test doesn't consider that SQLite may have been compiled with foreign keys enabled by default. Just needs to have that turned off for the test.
Activity
pythongh-123849: Fix DumpTests.test_table_dump() crash on SQLite when…
Merge branch 'main' into pythongh-123849
gh-123849: Fix test_sqlite3.test_table_dump when foreign keys are ena…
pythongh-123849: Fix test_sqlite3.test_table_dump when foreign keys a…
pythongh-123849: Fix test_sqlite3.test_table_dump when foreign keys a…
[3.13] gh-123849: Fix test_sqlite3.test_table_dump when foreign keys …
erlend-aasland commented on Oct 13, 2024
Fixed in main and the 3.13 branch. Thanks for the report, @Derothin, and thanks for the fix, @felixxm!