Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Bug report
Bug description:
My system sqlite is compiled with support for foreign keys:
sqlite> pragma compile_options; ... DEFAULT_FOREIGN_KEYS ... This causes a test failure when attempting to compile Python 3.13.0:
======================================================================ERROR: test_table_dump (test.test_sqlite3.test_dump.DumpTests.test_table_dump) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File"/home/charles/code/python-3.13.0/Lib/test/test_sqlite3/test_dump.py", line45, intest_table_dump [self.cu.execute(s) forsinexpected_sqls] ~~~~~~~~~~~~~~~^^^sqlite3.IntegrityError: FOREIGNKEYconstraintfailed----------------------------------------------------------------------The test-case should likely disable foreign-key pragma before beginning in order to be correct in all cases.
CPython versions tested on:
3.13
Operating systems tested on:
Linux