[Python-checkins] gh-101947: Remove size check from sqlite3 serialize test (#102914)

erlend-aasland webhook-mailer at python.org
Wed Mar 22 09:05:17 EDT 2023


https://github.com/python/cpython/commit/61405da9a5689f554aa53929a2a9c168cab6056b
commit: 61405da9a5689f554aa53929a2a9c168cab6056b
branch: main
author: Erlend E. Aasland <erlend.aasland at protonmail.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2023-03-22T14:05:08+01:00
summary:

gh-101947: Remove size check from sqlite3 serialize test (#102914)

The size of the returned data is too implementation specific.

files:
M Lib/test/test_sqlite3/test_dbapi.py

diff --git a/Lib/test/test_sqlite3/test_dbapi.py b/Lib/test/test_sqlite3/test_dbapi.py
index 695e213cdc7b..3013abfa730e 100644
--- a/Lib/test/test_sqlite3/test_dbapi.py
+++ b/Lib/test/test_sqlite3/test_dbapi.py
@@ -606,7 +606,6 @@ def test_serialize_deserialize(self):
             with cx:
                 cx.execute("create table t(t)")
             data = cx.serialize()
-            self.assertEqual(len(data), 8192)
 
             # Remove test table, verify that it was removed.
             with cx:



More information about the Python-checkins mailing list