Skip to content

Commit bc1e578

Browse files
Nit: deduplicate import
1 parent 7f79179 commit bc1e578

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎Lib/test/test_exception_group.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import collections
22
import types
33
import unittest
4-
from test import support
54
from test.support import (skip_emscripten_stack_overflow,
65
skip_wasi_stack_overflow, run_with_limited_c_stack,
7-
exceeds_recursion_limit)
6+
exceeds_recursion_limit, nomemtest)
87

98
class TestExceptionGroupTypeHierarchy(unittest.TestCase):
109
def test_exception_group_types(self):
@@ -131,7 +130,7 @@ class MyBEG(BaseExceptionGroup):
131130
type(MyBEG("eg", [ValueError(12), KeyboardInterrupt(42)])),
132131
MyBEG)
133132

134-
@support.nomemtest
133+
@nomemtest
135134
def test_no_memory(self):
136135
import _testcapi
137136
# A tuple of exceptions is not copied, so the first allocation

0 commit comments

Comments
 (0)