Skip to content

test_sqlite3 failure with SQLite 3.40.1 #101947

Closed
@kulikjak

Description

@kulikjak

Since we recently updated from SQLite 3.35.5 to 3.40.1, I am seeing the following test failure:

======================================================================
FAIL: test_serialize_deserialize (test.test_sqlite3.test_dbapi.SerializeTests.test_serialize_deserialize)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/.../Python-3.11.0/Lib/test/test_sqlite3/test_dbapi.py", line 607, in test_serialize_deserialize
    self.assertEqual(len(data), 8192)
AssertionError: 65536 != 8192

It seems that the size of serialized data changed between those two SQLite versions, causing this issue; when I remove this assert, the test passes.

This is on Oracle Solaris (both SPARC and Intel); in both 3.11.0 and the latest changes cloned from GitHub (both 3.11 and main branches).

Linked PRs

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions