Skip to content

Commit

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

(cherry picked from commit dfcae43)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
pythongh-115142: Skip test_dict if _testcapi and _testlimitedcapi is not available
  • Loading branch information
Eclips4 committed Apr 10, 2024
1 parent 04d0796 commit 229f759
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Lib/test/test_capi/test_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
from types import MappingProxyType
from test import support
from test.support import import_helper
import _testcapi


_testcapi = import_helper.import_module("_testcapi")


NULL = None
Expand Down

0 comments on commit 229f759

Please sign in to comment.