Lines Matching refs:istest
93 def istest(self, predicate, exp): member in IsTestBase
129 self.istest(inspect.isbuiltin, 'sys.exit')
130 self.istest(inspect.isbuiltin, '[].append')
131 self.istest(inspect.iscode, 'mod.spam.__code__')
136 self.istest(inspect.isframe, 'tb.tb_frame')
137 self.istest(inspect.istraceback, 'tb')
139 self.istest(inspect.isgetsetdescriptor,
146 self.istest(inspect.isfunction, 'mod.spam')
147 self.istest(inspect.isfunction, 'mod.StupidGit.abuse')
148 self.istest(inspect.ismethod, 'git.argue')
149 self.istest(inspect.ismodule, 'mod')
150 self.istest(inspect.isdatadescriptor, 'collections.defaultdict.default_factory')
151 self.istest(inspect.isgenerator, '(x for x in range(2))')
152 self.istest(inspect.isgeneratorfunction, 'generator_function_example')
153 self.istest(inspect.isasyncgen,
155 self.istest(inspect.isasyncgenfunction,
160 self.istest(inspect.iscoroutine, 'coroutine_function_example(1)')
161 self.istest(inspect.iscoroutinefunction, 'coroutine_function_example')
164 self.istest(inspect.ismemberdescriptor, 'datetime.timedelta.days')
218 self.istest(inspect.isclass, 'mod.StupidGit')
289 self.istest(inspect.istraceback, 'git.ex[2]')
290 self.istest(inspect.isframe, 'mod.fr')