From: Mike Bayer Date: Fri, 15 Jun 2007 16:53:00 +0000 (+0000) Subject: unit test fix X-Git-Tag: rel_0_4_6~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fba10839c223c803f3004b616b4af8354f8cf23;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git unit test fix --- diff --git a/test/engine/reflection.py b/test/engine/reflection.py index 532f55e8a9..41cd236748 100644 --- a/test/engine/reflection.py +++ b/test/engine/reflection.py @@ -245,9 +245,9 @@ class ReflectionTest(PersistTest): Column('col1', Integer, Sequence('fooseq'))) try: testbase.db.execute("CREATE SEQUENCE fooseq") - t.create() + t.create(checkfirst=True) finally: - t.drop() + t.drop(checkfirst=True) def test_pks_not_uniques(self): """test that primary key reflection not tripped up by unique indexes"""