diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-18 19:28:29 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-18 19:28:29 (GMT) |
commit | 3bb4d214a470c4da4af63f5a2c098cc886b9e857 (patch) | |
tree | 460a6f1292a5c02bd0ef0b1a4d6fbf653f7ac37e /Lib | |
parent | 31f4d1fa4ba5cd65db56695b021d96f12087dc12 (diff) | |
download | cpython-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.py | 3 |
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) |