Skip to content

Commit

Permalink
pythongh-115142: Skip test_capi.test_dict.py if _testcapi and…
Browse files Browse the repository at this point in the history
… ``_testlimitedcapi`` are not available (pythonGH-117588)

pythongh-115142: Skip test_dict if _testcapi and _testlimitedcapi is not available
  • Loading branch information
Eclips4 committed Apr 10, 2024
1 parent 79eec66 commit dfcae43
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Lib/test/test_capi/test_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
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
Expand Down

0 comments on commit dfcae43

Please sign in to comment.