Skip to content

Commit 9fc21a3

Browse files
committed
remove test
1 parent 40dd821 commit 9fc21a3

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

Lib/test/test_collections.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from test.support.import_helper import import_fresh_module
1616
import types
1717
import unittest
18-
import _testcapi
1918

2019
from collections import namedtuple, Counter, OrderedDict, _count_elements
2120
from collections import UserDict, UserString, UserList
@@ -2476,22 +2475,6 @@ def test_symmetric_difference(self):
24762475
pp ^= qq
24772476
self.assertEqual(pp, r)
24782477

2479-
################################################################################
2480-
### Deque
2481-
################################################################################
2482-
2483-
class TestDeque(unittest.TestCase):
2484-
2485-
def test_deque_oom(self):
2486-
for n in range(1, 80):
2487-
d = deque(range(200))
2488-
_testcapi.set_nomemory(n, 0)
2489-
try:
2490-
d.copy()
2491-
_testcapi.remove_mem_hooks()
2492-
break
2493-
except MemoryError:
2494-
_testcapi.remove_mem_hooks()
24952478

24962479
def load_tests(loader, tests, pattern):
24972480
tests.addTest(doctest.DocTestSuite(collections))

0 commit comments

Comments
 (0)