aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/utils.py b/cryptography/utils.py
index 636776f4..818f4e80 100644
--- a/cryptography/utils.py
+++ b/cryptography/utils.py
@@ -37,7 +37,7 @@ def verify_interface(iface, klass):
raise InterfaceNotImplemented(
"{0} is missing a {1!r} method".format(klass, method)
)
- spec = getattr(iface, method).__func__
+ spec = getattr(iface, method)
actual = getattr(klass, method)
if inspect.getargspec(spec) != inspect.getargspec(actual):
raise InterfaceNotImplemented(