From: Fred Drake Date: Thu, 18 Oct 2001 19:28:29 +0000 (+0000) Subject: Add a test for calling a weakref proxy with a dictionary of keyword args. X-Git-Tag: v2.2.1c1~1181 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bb4d214a470c4da4af63f5a2c098cc886b9e857;p=python Add a test for calling a weakref proxy with a dictionary of keyword args. --- diff --git a/Lib/test/test_weakref.py b/Lib/test/test_weakref.py index 5e56717823..87c16709be 100644 --- a/Lib/test/test_weakref.py +++ b/Lib/test/test_weakref.py @@ -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)