Commit 3bb4d214 authored by Fred Drake's avatar Fred Drake

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

parent 31f4d1fa
......@@ -160,6 +160,9 @@ class ReferencesTestCase(TestBase):
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment