mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue #20532: Tests which use _testcapi now are marked as CPython only.
This commit is contained in:
parent
fe4ef392d5
commit
5cfc79deae
25 changed files with 239 additions and 106 deletions
|
|
@ -1,3 +1,8 @@
|
|||
import unittest
|
||||
from test import support
|
||||
|
||||
# Skip this test if the _testcapi module isn't available.
|
||||
support.import_module('_testcapi')
|
||||
from _testcapi import _test_structmembersType, \
|
||||
CHAR_MAX, CHAR_MIN, UCHAR_MAX, \
|
||||
SHRT_MAX, SHRT_MIN, USHRT_MAX, \
|
||||
|
|
@ -6,9 +11,6 @@ from _testcapi import _test_structmembersType, \
|
|||
LLONG_MAX, LLONG_MIN, ULLONG_MAX, \
|
||||
PY_SSIZE_T_MAX, PY_SSIZE_T_MIN
|
||||
|
||||
import unittest
|
||||
from test import support
|
||||
|
||||
ts=_test_structmembersType(False, # T_BOOL
|
||||
1, # T_BYTE
|
||||
2, # T_UBYTE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue