Home
last modified time | relevance | path

Searched refs:istest (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_inspect.py55 def istest(self, predicate, exp): member in IsTestBase
80 self.istest(inspect.isbuiltin, 'sys.exit')
81 self.istest(inspect.isbuiltin, '[].append')
82 self.istest(inspect.iscode, 'mod.spam.func_code')
83 self.istest(inspect.isframe, 'tb.tb_frame')
84 self.istest(inspect.isfunction, 'mod.spam')
85 self.istest(inspect.ismethod, 'mod.StupidGit.abuse')
86 self.istest(inspect.ismethod, 'git.argue')
87 self.istest(inspect.ismodule, 'mod')
88 self.istest(inspect.istraceback, 'tb')
[all …]
/external/python/cpython3/Lib/test/
Dtest_inspect.py93 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')
[all …]