diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-09-11 20:48:39 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-09-11 20:48:39 +0000 |
| commit | 01de7110984604e731d19a751a829d21f62106f8 (patch) | |
| tree | ed0eca05fd45d046408a66ef8b88f1fbc7cf230f /test/sql/select.py | |
| parent | 37d59c1b7fe616201722c71968ba11db2d19bbcb (diff) | |
| download | sqlalchemy-01de7110984604e731d19a751a829d21f62106f8.tar.gz | |
- 0.5.0rc1rel_0_5rc1
- removed unneeded grouping from BooleanClauseList, generated needless parens
Diffstat (limited to 'test/sql/select.py')
| -rw-r--r-- | test/sql/select.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sql/select.py b/test/sql/select.py index cff8a9d33..facfb5287 100644 --- a/test/sql/select.py +++ b/test/sql/select.py @@ -196,8 +196,8 @@ sq.myothertable_othername AS sq_myothertable_othername FROM (" + sqstring + ") A exists().where(table2.c.otherid=='bar') ) ]), - "SELECT ((EXISTS (SELECT * FROM myothertable WHERE myothertable.otherid = :otherid_1)) "\ - "OR (EXISTS (SELECT * FROM myothertable WHERE myothertable.otherid = :otherid_2))) AS anon_1" + "SELECT (EXISTS (SELECT * FROM myothertable WHERE myothertable.otherid = :otherid_1)) "\ + "OR (EXISTS (SELECT * FROM myothertable WHERE myothertable.otherid = :otherid_2)) AS anon_1" ) @@ -348,7 +348,7 @@ sq.myothertable_othername AS sq_myothertable_othername FROM (" + sqstring + ") A assert str(x) == 'a AND b AND c' self.assert_compile( select([x.label('foo')]), - 'SELECT (a AND b AND c) AS foo' + 'SELECT a AND b AND c AS foo' ) self.assert_compile( |
