summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-18 19:28:29 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-18 19:28:29 (GMT)
commit3bb4d214a470c4da4af63f5a2c098cc886b9e857 (patch)
tree460a6f1292a5c02bd0ef0b1a4d6fbf653f7ac37e /Lib
parent31f4d1fa4ba5cd65db56695b021d96f12087dc12 (diff)
downloadcpython-3bb4d214a470c4da4af63f5a2c098cc886b9e857.zip
cpython-3bb4d214a470c4da4af63f5a2c098cc886b9e857.tar.gz
cpython-3bb4d214a470c4da4af63f5a2c098cc886b9e857.tar.bz2
Add a test for calling a weakref proxy with a dictionary of keyword args.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_weakref.py3
1 files changed, 3 insertions, 0 deletions
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)