There was an error while loading. Please reload this page.
1 parent 40f9873 commit a7f9a1aCopy full SHA for a7f9a1a
1 file changed
Lib/test/test_class.py
@@ -449,7 +449,6 @@ def __delattr__(self, *args):
449
450
def testHasAttrString(self):
451
import sys
452
- from test.support import import_helper
453
_testlimitedcapi = import_helper.import_module('_testlimitedcapi')
454
455
class A:
@@ -1014,11 +1013,8 @@ class C:
1014
1013
C.a = X()
1015
1016
1017
- @cpython_only
+ @support.nomemtest
1018
def test_detach_materialized_dict_no_memory(self):
1019
- # Skip test if _testcapi is not available:
1020
- import_helper.import_module('_testcapi')
1021
-
1022
code = """if 1:
1023
import test.support
1024
import _testcapi
0 commit comments