Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_inspect.py496 def assertArgSpecEquals(self, routine, args_e, varargs_e = None, member in TestClassesAndFunctions
509 self.assertArgSpecEquals(mod.eggs, ['x', 'y'], formatted = '(x, y)')
511 self.assertArgSpecEquals(mod.spam,
525 self.assertArgSpecEquals(spam_deref,
534 self.assertArgSpecEquals(A.m, ['self'])
541 self.assertArgSpecEquals(sublistOfOne, [['foo']])
544 self.assertArgSpecEquals(sublistOfOne, [['foo']])
547 self.assertArgSpecEquals(fakeSublistOfOne, ['foo'])
550 self.assertArgSpecEquals(sublistOfOne, ['foo'])
/external/python/cpython3/Lib/test/
Dtest_inspect.py716 def assertArgSpecEquals(self, routine, args_e, varargs_e=None, member in TestClassesAndFunctions
749 self.assertArgSpecEquals(mod.eggs, ['x', 'y'], formatted='(x, y)')
751 self.assertArgSpecEquals(mod.spam,
756 self.assertRaises(ValueError, self.assertArgSpecEquals,
759 self.assertRaises(ValueError, self.assertArgSpecEquals,
761 self.assertRaises(ValueError, self.assertArgSpecEquals,
784 self.assertArgSpecEquals(ham, ['x', 'y'], formatted='(x, y)')
790 self.assertArgSpecEquals(f, ['self', 'x', 'y'],
884 self.assertArgSpecEquals(A.m, ['self'])