diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-12-18 10:46:20 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-12-18 11:21:18 -0500 |
commit | 24e93b069a1db97fcbe5ec5ce866b01a7138ff14 (patch) | |
tree | e334b6898576c74af16b0cd17c74e702ea18171b /lib/sqlalchemy/testing/fixtures.py | |
parent | 35b04a5508e06a99941cf6eca7de545554c9d6ca (diff) | |
download | sqlalchemy-24e93b069a1db97fcbe5ec5ce866b01a7138ff14.tar.gz |
test fixes for oracle 18c
Change-Id: I4968aa3bde3c4d11d7fe84f18b4a846ba357d16a
Diffstat (limited to 'lib/sqlalchemy/testing/fixtures.py')
-rw-r--r-- | lib/sqlalchemy/testing/fixtures.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/fixtures.py b/lib/sqlalchemy/testing/fixtures.py index 54b1cbb46..0ede25176 100644 --- a/lib/sqlalchemy/testing/fixtures.py +++ b/lib/sqlalchemy/testing/fixtures.py @@ -206,7 +206,11 @@ class TablesTest(TestBase): drop_all_tables(self.metadata, self.bind) # no need to run deletes if tables are recreated on setup - if self.run_define_tables != "each" and self.run_deletes == "each": + if ( + self.run_define_tables != "each" + and self.run_create_tables != "each" + and self.run_deletes == "each" + ): with self.bind.begin() as conn: for table in reversed( [ |