diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-05-27 14:46:44 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-05-27 14:46:44 -0400 |
commit | 035ec314f63bd03de11eeac7c52c852674c7ce29 (patch) | |
tree | cd53eee0f07679d98a402dffd12a7ceb00113bc7 /test/sql/test_constraints.py | |
parent | b086f9a81556250ac6352e092a36e53757f36477 (diff) | |
download | sqlalchemy-035ec314f63bd03de11eeac7c52c852674c7ce29.tar.gz |
- Fixed concatenation of constraints when "PRIMARY KEY"
constraint gets moved to column level due to SQLite
AUTOINCREMENT keyword being rendered. [ticket:1812]
- remove some extra space in between constraint DDL
- added alias() to binary comparison test, fixing pg + mysql failures
Diffstat (limited to 'test/sql/test_constraints.py')
-rw-r--r-- | test/sql/test_constraints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sql/test_constraints.py b/test/sql/test_constraints.py index eed77ed83..33e4b8d76 100644 --- a/test/sql/test_constraints.py +++ b/test/sql/test_constraints.py @@ -275,7 +275,7 @@ class ConstraintCompilationTest(TestBase, AssertsCompiledSQL): self.assert_compile( schema.CreateTable(t), - "CREATE TABLE tbl (a INTEGER, b INTEGER CHECK (a < b) DEFERRABLE INITIALLY DEFERRED)" + "CREATE TABLE tbl (a INTEGER, b INTEGER CHECK (a < b) DEFERRABLE INITIALLY DEFERRED)" ) def test_use_alter(self): |