mirror of https://github.com/python/cpython.git
Add a test for calling a weakref proxy with a dictionary of keyword args.
This commit is contained in:
parent
31f4d1fa4b
commit
3bb4d214a4
|
@ -160,6 +160,9 @@ def test_callable_proxy(self):
|
|||
ref1('twinkies!')
|
||||
self.assert_(o.bar == 'twinkies!',
|
||||
"call through proxy not passed through to original")
|
||||
ref1(x='Splat.')
|
||||
self.assert_(o.bar == 'Splat.',
|
||||
"call through proxy not passed through to original")
|
||||
|
||||
# expect due to too few args
|
||||
self.assertRaises(TypeError, ref1)
|
||||
|
|
Loading…
Reference in New Issue