summaryrefslogtreecommitdiff
path: root/test/ext/test_extendedattr.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ext/test_extendedattr.py')
-rw-r--r--test/ext/test_extendedattr.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ext/test_extendedattr.py b/test/ext/test_extendedattr.py
index 7a733696a..352b6b241 100644
--- a/test/ext/test_extendedattr.py
+++ b/test/ext/test_extendedattr.py
@@ -125,9 +125,11 @@ class MyClass(object):
class UserDefinedExtensionTest(fixtures.ORMTest):
@classmethod
def teardown_class(cls):
- clear_mappers()
instrumentation._reinstall_default_lookups()
+ def teardown(self):
+ clear_mappers()
+
def test_instance_dict(self):
class User(MyClass):
pass