diff options
author | John Szakmeister <john@szakmeister.net> | 2014-02-19 18:57:08 -0500 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2014-02-20 05:04:55 -0500 |
commit | c51ff6ffda7e8b36eaa1152090e6238479610d7d (patch) | |
tree | 8ac32f2c292e841d378b85bf87c9b50e0413e670 /CHANGELOG | |
parent | 023124f42b9e49c105a077dbb2416c64eb0e9f32 (diff) | |
download | nose-c51ff6ffda7e8b36eaa1152090e6238479610d7d.tar.gz |
Fix #728: attrib plugin rejects any staticmethod
The issue is that static methods get wrapped in an UnboundMethod object,
and the attribute plugin is unable to grab the associated class, since
UnboundMethod does not have the im_class attribute. Since the goal of
UnboundMethod is to mimic an actual method, let's go ahead and implement
the im_class attribute.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -67,6 +67,8 @@ In Development - Fix #771: attr plugin is broken when parent and child share same method name with different attributes Patch by John Szakmeister. Test case provided by Thomas Grainger. +- Fix #728: attrib plugin rejects any staticmethod + Patch by John Szakmesiter. Test case provided by Thomas Kluyver. 1.3.0 |