Add a test for calling a weakref proxy with a dictionary of keyword args.

This commit is contained in:
Fred Drake 2001-10-18 19:28:29 +00:00
parent 31f4d1fa4b
commit 3bb4d214a4
1 changed files with 3 additions and 0 deletions

View File

@ -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)