gh-115142: Skip ``test_capi.test_dict.py`` if ``_testcapi`` and ``_testlimitedcapi`` are not available (GH-117588)

gh-115142: Skip test_dict if _testcapi and _testlimitedcapi is not available
This commit is contained in:
Kirill Podoprigora 2024-04-10 17:32:57 +03:00 committed by GitHub
parent 79eec66e3d
commit dfcae4379f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -2,8 +2,11 @@ import unittest
from collections import OrderedDict, UserDict
from types import MappingProxyType
from test import support
import _testcapi
import _testlimitedcapi
from test.support import import_helper
_testcapi = import_helper.import_module("_testcapi")
_testlimitedcapi = import_helper.import_module("_testlimitedcapi")
NULL = None