From: Scott Dugas Date: Thu, 30 Oct 2014 15:06:45 +0000 (-0400) Subject: Added requirement for temporary tables X-Git-Tag: rel_1_0_0~19^2~3^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b3fc8743582db73642767cc6c101cf95f13464f;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Added requirement for temporary tables --- diff --git a/test/requirements.py b/test/requirements.py index 432dc645cc..21dd2913e3 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -126,6 +126,11 @@ class DefaultRequirements(SuiteRequirements): "not supported by database" ) + @property + def temporary_table(self): + """Target database must support CREATE TEMPORARY TABLE""" + return exclusions.open() + @property def reflectable_autoincrement(self): """Target database must support tables that can automatically generate diff --git a/test/sql/test_metadata.py b/test/sql/test_metadata.py index ff79c126a4..a209cdd7a2 100644 --- a/test/sql/test_metadata.py +++ b/test/sql/test_metadata.py @@ -1038,6 +1038,7 @@ class InfoTest(fixtures.TestBase): class TableTest(fixtures.TestBase, AssertsCompiledSQL): + @testing.requires.temporary_table @testing.skip_if('mssql', 'different col format') def test_prefixes(self): from sqlalchemy import Table