Skip to content

Commit 6cb5bb0

Browse files
Drop test
1 parent b1cd8eb commit 6cb5bb0

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

‎Lib/test/test_exception_group.py‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import unittest
44
from test.support import (skip_emscripten_stack_overflow,
55
skip_wasi_stack_overflow, run_with_limited_c_stack,
6-
exceeds_recursion_limit, nomemtest)
6+
exceeds_recursion_limit)
77

88
class TestExceptionGroupTypeHierarchy(unittest.TestCase):
99
def test_exception_group_types(self):
@@ -130,15 +130,6 @@ class MyBEG(BaseExceptionGroup):
130130
type(MyBEG("eg", [ValueError(12), KeyboardInterrupt(42)])),
131131
MyBEG)
132132

133-
@nomemtest
134-
def test_no_memory(self):
135-
import _testcapi
136-
# A tuple of exceptions is not copied, so the first allocation
137-
# is the one of the exception group itself.
138-
excs = (ValueError(1),)
139-
with self.assertRaises(MemoryError):
140-
_testcapi.call_with_nomemory(0, 0, ExceptionGroup, "eg", excs)
141-
142133

143134
class StrAndReprTests(unittest.TestCase):
144135
def test_ExceptionGroup(self):

0 commit comments

Comments
 (0)