summaryrefslogtreecommitdiff
path: root/test/testlib/testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/testlib/testing.py')
-rw-r--r--test/testlib/testing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testlib/testing.py b/test/testlib/testing.py
index 1c3b0f0bc..cc7736937 100644
--- a/test/testlib/testing.py
+++ b/test/testlib/testing.py
@@ -911,7 +911,7 @@ class ORMTest(TestBase, AssertsExecutionResults):
if not self.keep_mappers:
clear_mappers()
if not self.keep_data:
- for t in _otest_metadata.table_iterator(reverse=True):
+ for t in reversed(_otest_metadata.sorted_tables):
try:
t.delete().execute().close()
except Exception, e: