diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-10-11 17:33:44 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-10-11 17:33:44 -0400 |
commit | 3e810771a8ace7351fcd43deaf55891fd1c30a53 (patch) | |
tree | 43e81d183e53774fef2f067fe8f6f1701d5660c8 /lib/sqlalchemy/testing/suite/test_insert.py | |
parent | 95be42c06ff4e5f3528de42bb04dcba228ea74c2 (diff) | |
download | sqlalchemy-3e810771a8ace7351fcd43deaf55891fd1c30a53.tar.gz |
- change this literal so that the bound name doesn't have a numeric
name, this is sort of a bug for oracle
Diffstat (limited to 'lib/sqlalchemy/testing/suite/test_insert.py')
-rw-r--r-- | lib/sqlalchemy/testing/suite/test_insert.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_insert.py b/lib/sqlalchemy/testing/suite/test_insert.py index c197145c7..2334d3049 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: |