From: Mike Bayer Date: Sat, 11 Oct 2014 21:33:44 +0000 (-0400) Subject: - change this literal so that the bound name doesn't have a numeric X-Git-Tag: rel_1_0_0b1~70^2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e810771a8ace7351fcd43deaf55891fd1c30a53;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - change this literal so that the bound name doesn't have a numeric name, this is sort of a bug for oracle --- diff --git a/lib/sqlalchemy/testing/suite/test_insert.py b/lib/sqlalchemy/testing/suite/test_insert.py index c197145c7b..2334d30498 100644 --- a/lib/sqlalchemy/testing/suite/test_insert.py +++ b/lib/sqlalchemy/testing/suite/test_insert.py @@ -4,7 +4,7 @@ from .. import exclusions from ..assertions import eq_ from .. import engines -from sqlalchemy import Integer, String, select, literal_column +from sqlalchemy import Integer, String, select, literal_column, literal from ..schema import Table, Column @@ -96,7 +96,7 @@ class InsertBehaviorTest(fixtures.TablesTest): Column('data', String(50)), Column('x', Integer, default=5), Column('y', Integer, - default=literal_column("2", type_=Integer) + 2)) + default=literal_column("2", type_=Integer) + literal(2))) def test_autoclose_on_insert(self): if requirements.returning.enabled: