diff options
Diffstat (limited to 'test/sql')
| -rw-r--r-- | test/sql/test_identity_column.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/sql/test_identity_column.py b/test/sql/test_identity_column.py index 2564022c2..0b1bffd00 100644 --- a/test/sql/test_identity_column.py +++ b/test/sql/test_identity_column.py @@ -57,13 +57,17 @@ class _IdentityDDLFixture(testing.AssertsCompiledSQL): dict(always=False, cache=1000, order=True), "BY DEFAULT AS IDENTITY (CACHE 1000 ORDER)", ), - ( - dict(order=True), - "BY DEFAULT AS IDENTITY (ORDER)", - ), + (dict(order=True), "BY DEFAULT AS IDENTITY (ORDER)"), ) def test_create_ddl(self, identity_args, text): + if getattr(self, "__dialect__", None) != "default" and testing.against( + "oracle" + ): + text = text.replace("NO MINVALUE", "NOMINVALUE").replace( + "NO MAXVALUE", "NOMAXVALUE" + ) + t = Table( "foo_table", MetaData(), |
