(self)
| 37 | self.check_structseq(type(attr)) |
| 38 | |
| 39 | def test_sys_funcs(self): |
| 40 | func_names = ['get_asyncgen_hooks'] # AsyncGenHooksType |
| 41 | if hasattr(sys, 'getwindowsversion'): |
| 42 | func_names.append('getwindowsversion') # WindowsVersionType |
| 43 | for func_name in func_names: |
| 44 | with self.subTest(func=func_name): |
| 45 | func = getattr(sys, func_name) |
| 46 | obj = func() |
| 47 | self.check_structseq(type(obj)) |
| 48 | |
| 49 | |
| 50 | try: |
nothing calls this directly
no test coverage detected