summaryrefslogtreecommitdiff
path: root/test/orm/test_mapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/test_mapper.py')
-rw-r--r--test/orm/test_mapper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/orm/test_mapper.py b/test/orm/test_mapper.py
index ba7a82c62..11a66c17f 100644
--- a/test/orm/test_mapper.py
+++ b/test/orm/test_mapper.py
@@ -2304,8 +2304,8 @@ class MapperEventsTest(_fixtures.FixtureTest):
def teardown(self):
# TODO: need to get remove() functionality
# going
- Mapper.dispatch.clear()
- ClassManager.dispatch.clear()
+ Mapper.dispatch._clear()
+ ClassManager.dispatch._clear()
super(MapperEventsTest, self).teardown()
def listen_all(self, mapper, **kw):