Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/test/test_bigmem.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

from test import support
from test.support import bigmemtest, _1G, _2G, _4G, import_helper
_testcapi = import_helper.import_module('_testcapi')

import unittest
import operator
Expand Down Expand Up @@ -1264,6 +1263,7 @@ class ImmortalityTest(unittest.TestCase):
def test_stickiness(self, size):
"""Check that immortality is "sticky", so that
once an object is immortal it remains so."""
_testcapi = import_helper.import_module('_testcapi')
if size < _2G:
# Not enough memory to cause immortality on overflow
return
Expand Down
Loading