Lines Matching refs:keywords
42 return (part.func, part.args, part.keywords, part.__dict__)
70 self.assertEqual(p.keywords, dict(a=10, b=20))
115 self.assertEqual(p.keywords, {})
119 self.assertEqual(p.keywords, {'a':1})
259 self.assertIs(f_copy.keywords, f.keywords)
269 self.assertIsNot(f_copy.keywords, f.keywords)
270 self.assertIsNot(f_copy.keywords['bar'], f.keywords['bar'])
356 self.assertIs(f_copy.keywords['a'], f_copy)
395 self.assertRaises(AttributeError, setattr, p, 'keywords', dict(a=1, b=2))
408 p.keywords[1234] = 'value'
420 p.keywords[self] = ['sth2']
425 p.keywords[MutatesYourDict()] = ['sth']
465 keywords
488 self.assertEqual(self.a.keywords(), ((self.a,), {'a': 2}))
489 self.assertEqual(self.a.keywords(5), ((self.a, 5), {'a': 2}))
490 self.assertEqual(self.a.keywords(c=6), ((self.a,), {'a': 2, 'c': 6}))
491 self.assertEqual(self.a.keywords(5, c=6), ((self.a, 5), {'a': 2, 'c': 6}))
546 self.assertEqual(self.a.keywords(a=3), ((self.a,), {'a': 3}))
547 self.assertEqual(self.A.keywords(self.a, a=3), ((self.a,), {'a': 3}))