mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
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:
parent
79eec66e3d
commit
dfcae4379f
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue