zopefoundation / Products.PluggableAuthService

Pluggable Zope authentication / authorization framework
Other
9 stars 18 forks source link

Replace deprecated and removed `im_self` with `__self__`. #40

Closed sallner closed 5 years ago

sallner commented 5 years ago

im_self was removed in Python 3, but the tests included to may faux assumptions to fail at the API change.

I am not sure, whether I did the right thing with the test in https://github.com/zopefoundation/Products.PluggableAuthService/commit/549e69f8abcb581ad7a5635c0fdb53942a9f1aa9, but at least the code path is now executed.