aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_interfaces.py')
-rw-r--r--tests/test_interfaces.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/test_interfaces.py b/tests/test_interfaces.py
index 0c72ad33..b988abee 100644
--- a/tests/test_interfaces.py
+++ b/tests/test_interfaces.py
@@ -17,9 +17,7 @@ import pytest
import six
-from cryptography.utils import (
- InterfaceNotImplemented, register_interface, verify_interface
-)
+from cryptography.utils import InterfaceNotImplemented, verify_interface
class TestVerifyInterface(object):
@@ -30,7 +28,6 @@ class TestVerifyInterface(object):
def method(self):
"""A simple method"""
- @register_interface(SimpleInterface)
class NonImplementer(object):
pass
@@ -44,7 +41,6 @@ class TestVerifyInterface(object):
def method(self, a):
"""Method with one argument"""
- @register_interface(SimpleInterface)
class NonImplementer(object):
def method(self):
"""Method with no arguments"""
@@ -59,7 +55,6 @@ class TestVerifyInterface(object):
def property(self):
"""An abstract property"""
- @register_interface(SimpleInterface)
class NonImplementer(object):
@property
def property(self):