(info_add)
| 677 | |
| 678 | |
| 679 | def collect_testcapi(info_add): |
| 680 | try: |
| 681 | import _testcapi |
| 682 | except ImportError: |
| 683 | return |
| 684 | |
| 685 | for name in ( |
| 686 | 'LONG_MAX', # always 32-bit on Windows, 64-bit on 64-bit Unix |
| 687 | 'PY_SSIZE_T_MAX', |
| 688 | 'Py_C_RECURSION_LIMIT', |
| 689 | 'SIZEOF_TIME_T', # 32-bit or 64-bit depending on the platform |
| 690 | 'SIZEOF_WCHAR_T', # 16-bit or 32-bit depending on the platform |
| 691 | ): |
| 692 | copy_attr(info_add, f'_testcapi.{name}', _testcapi, name) |
| 693 | |
| 694 | |
| 695 | def collect_testinternalcapi(info_add): |
nothing calls this directly
no test coverage detected