(info_add)
| 695 | |
| 696 | |
| 697 | def collect_testcapi(info_add): |
| 698 | try: |
| 699 | import _testcapi |
| 700 | except ImportError: |
| 701 | return |
| 702 | |
| 703 | for name in ( |
| 704 | 'LONG_MAX', # always 32-bit on Windows, 64-bit on 64-bit Unix |
| 705 | 'PY_SSIZE_T_MAX', |
| 706 | 'SIZEOF_TIME_T', # 32-bit or 64-bit depending on the platform |
| 707 | 'SIZEOF_WCHAR_T', # 16-bit or 32-bit depending on the platform |
| 708 | ): |
| 709 | copy_attr(info_add, f'_testcapi.{name}', _testcapi, name) |
| 710 | |
| 711 | |
| 712 | def collect_testinternalcapi(info_add): |
nothing calls this directly
no test coverage detected
searching dependent graphs…