Lines Matching refs:name
2 # these are all functions _testcapi exports whose name begins with 'test_'.
780 for name in expected:
781 self.assertIn(name, modules)
782 for name in not_expected:
783 self.assertNotIn(name, modules)
841 if os.name != 'nt':
844 for name in names:
845 with self.subTest(name=name):
846 self.assertTrue(hasattr(ctypes.pythonapi, name))
1121 locals().update((name, getattr(_testcapi, name))
1122 for name in dir(_testcapi)
1123 if name.startswith('test_') and not name.endswith('_code'))
1135 locals().update((name, getattr(_testinternalcapi, name))
1136 for name in dir(_testinternalcapi)
1137 if name.startswith('test_'))
1306 for name, increment_count in methods.items():
1307 with self.subTest(name):