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.py831 def assertArgSpecEquals(self, routine, args_e, varargs_e=None, member in TestClassesAndFunctions
865 self.assertArgSpecEquals(mod.eggs, ['x', 'y'], formatted='(x, y)')
867 self.assertArgSpecEquals(mod.spam,
872 self.assertRaises(ValueError, self.assertArgSpecEquals,
875 self.assertRaises(ValueError, self.assertArgSpecEquals,
877 self.assertRaises(ValueError, self.assertArgSpecEquals,
917 self.assertArgSpecEquals(ham, ['x', 'y'], formatted='(x, y)')
923 self.assertArgSpecEquals(f, ['self', 'x', 'y'],
1017 self.assertArgSpecEquals(A.m, ['self'])