[Python-checkins] gh-93117: Remove too large sqlite3 bigmemtest (#93154)

erlend-aasland webhook-mailer at python.org
Wed May 25 08:53:35 EDT 2022


https://github.com/python/cpython/commit/db3ef0c82a1a16db60c35f8a08c3fd9bfaa8b643
commit: db3ef0c82a1a16db60c35f8a08c3fd9bfaa8b643
branch: main
author: Erlend Egeberg Aasland <erlend.aasland at protonmail.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2022-05-25T14:53:26+02:00
summary:

gh-93117: Remove too large sqlite3 bigmemtest (#93154)

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 840a401b6b3ee..1fa02db3b3af4 100644
--- a/Lib/test/test_sqlite3/test_dbapi.py
+++ b/Lib/test/test_sqlite3/test_dbapi.py
@@ -29,7 +29,7 @@
 import unittest
 import urllib.parse
 
-from test.support import SHORT_TIMEOUT, bigmemtest, check_disallow_instantiation
+from test.support import SHORT_TIMEOUT, check_disallow_instantiation
 from test.support import threading_helper
 from _testcapi import INT_MAX, ULLONG_MAX
 from os import SEEK_SET, SEEK_CUR, SEEK_END
@@ -626,13 +626,6 @@ def test_deserialize_corrupt_database(self):
                 # deserialized database.
                 cx.execute("create table fail(f)")
 
-    @unittest.skipUnless(sys.maxsize > 2**32, 'requires 64bit platform')
-    @bigmemtest(size=2**63, memuse=3, dry_run=False)
-    def test_deserialize_too_much_data_64bit(self):
-        with memory_database() as cx:
-            with self.assertRaisesRegex(OverflowError, "'data' is too large"):
-                cx.deserialize(b"b" * size)
-
 
 class OpenTests(unittest.TestCase):
     _sql = "create table test(id integer)"



More information about the Python-checkins mailing list