summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-08-23 19:38:04 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-08-23 19:38:04 +0000
commite01e972ac305d634cac3d63de6c5fa6688cd56c5 (patch)
tree6d2badd87117b4f7e0039a9587d18d12ab143bed
parentc03b6c2e41f309b122e300b2625a9f744ad690b8 (diff)
downloadsqlalchemy-e01e972ac305d634cac3d63de6c5fa6688cd56c5.tar.gz
- fixed tearDown to reverse sorted table list
-rw-r--r--test/ext/declarative.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ext/declarative.py b/test/ext/declarative.py
index b9fa57cf0..6b226cc9f 100644
--- a/test/ext/declarative.py
+++ b/test/ext/declarative.py
@@ -777,7 +777,7 @@ class DeclarativeReflectionTest(testing.TestBase):
Base = decl.declarative_base(testing.db)
def tearDown(self):
- for t in reflection_metadata.sorted_tables:
+ for t in reversed(reflection_metadata.sorted_tables):
t.delete().execute()
def tearDownAll(self):