Skip to content

Commit a7f9a1a

Browse files
committed
Revert "XXX partial reversion of 1cbe460"
This reverts commit 40f9873.
1 parent 40f9873 commit a7f9a1a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Lib/test/test_class.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ def __delattr__(self, *args):
449449

450450
def testHasAttrString(self):
451451
import sys
452-
from test.support import import_helper
453452
_testlimitedcapi = import_helper.import_module('_testlimitedcapi')
454453

455454
class A:
@@ -1014,11 +1013,8 @@ class C:
10141013
C.a = X()
10151014
C.a = X()
10161015

1017-
@cpython_only
1016+
@support.nomemtest
10181017
def test_detach_materialized_dict_no_memory(self):
1019-
# Skip test if _testcapi is not available:
1020-
import_helper.import_module('_testcapi')
1021-
10221018
code = """if 1:
10231019
import test.support
10241020
import _testcapi

0 commit comments

Comments
 (0)