From 3bb4d214a470c4da4af63f5a2c098cc886b9e857 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 18 Oct 2001 19:28:29 +0000 Subject: Add a test for calling a weakref proxy with a dictionary of keyword args. --- Lib/test/test_weakref.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_weakref.py b/Lib/test/test_weakref.py index 5e56717..87c1670 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) -- cgit v0.12