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

miss-islington webhook-mailer at python.org
Wed Mar 22 09:45:36 EDT 2023


https://github.com/python/cpython/commit/b9304beda0ca0ce25d4f2aace73e7f926aaebcf4
commit: b9304beda0ca0ce25d4f2aace73e7f926aaebcf4
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-03-22T06:45:28-07:00
summary:

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


The size of the returned data is too implementation specific.
(cherry picked from commit 61405da9a5689f554aa53929a2a9c168cab6056b)

Co-authored-by: Erlend E. Aasland <erlend.aasland at protonmail.com>

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 2aea1105a251..9d94ddda95bd 100644
--- a/Lib/test/test_sqlite3/test_dbapi.py
+++ b/Lib/test/test_sqlite3/test_dbapi.py
@@ -604,7 +604,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