(self)
| 24 | self.assertEqual(obj_type.__subclasses__(), []) |
| 25 | |
| 26 | def test_sys_attrs(self): |
| 27 | for attr_name in ( |
| 28 | 'flags', # FlagsType |
| 29 | 'float_info', # FloatInfoType |
| 30 | 'hash_info', # Hash_InfoType |
| 31 | 'int_info', # Int_InfoType |
| 32 | 'thread_info', # ThreadInfoType |
| 33 | 'version_info', # VersionInfoType |
| 34 | ): |
| 35 | with self.subTest(attr=attr_name): |
| 36 | attr = getattr(sys, attr_name) |
| 37 | self.check_structseq(type(attr)) |
| 38 | |
| 39 | def test_sys_funcs(self): |
| 40 | func_names = ['get_asyncgen_hooks'] # AsyncGenHooksType |
nothing calls this directly
no test coverage detected