(info_add)
| 736 | |
| 737 | |
| 738 | def collect_support(info_add): |
| 739 | try: |
| 740 | from test import support |
| 741 | except ImportError: |
| 742 | return |
| 743 | |
| 744 | attributes = ( |
| 745 | 'MS_WINDOWS', |
| 746 | 'has_fork_support', |
| 747 | 'has_socket_support', |
| 748 | 'has_strftime_extensions', |
| 749 | 'has_subprocess_support', |
| 750 | 'is_android', |
| 751 | 'is_emscripten', |
| 752 | 'is_jython', |
| 753 | 'is_wasi', |
| 754 | ) |
| 755 | copy_attributes(info_add, support, 'support.%s', attributes) |
| 756 | |
| 757 | call_func(info_add, 'support._is_gui_available', support, '_is_gui_available') |
| 758 | call_func(info_add, 'support.python_is_optimized', support, 'python_is_optimized') |
| 759 | |
| 760 | info_add('support.check_sanitizer(address=True)', |
| 761 | support.check_sanitizer(address=True)) |
| 762 | info_add('support.check_sanitizer(memory=True)', |
| 763 | support.check_sanitizer(memory=True)) |
| 764 | info_add('support.check_sanitizer(ub=True)', |
| 765 | support.check_sanitizer(ub=True)) |
| 766 | |
| 767 | |
| 768 | def collect_support_os_helper(info_add): |
nothing calls this directly
no test coverage detected