Skip to content

Commit

Permalink
gh-93117: Remove too large sqlite3 bigmemtest (#93154)
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed May 25, 2022
1 parent 71d8775 commit db3ef0c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Lib/test/test_sqlite3/test_dbapi.py
Expand Up @@ -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
Expand Down Expand Up @@ -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)"
Expand Down

0 comments on commit db3ef0c

Please sign in to comment.