diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-12-02 12:37:52 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-12-02 12:37:52 -0500 |
| commit | 4950b85e8384869d3f03498c6914afe5aadbf561 (patch) | |
| tree | 827bf59ec95103d4a0aae7613531b77cee254212 /test/sql/test_selectable.py | |
| parent | b66dad46f31961ad9f2271e6dae377e38fc67979 (diff) | |
| download | sqlalchemy-4950b85e8384869d3f03498c6914afe5aadbf561.tar.gz | |
- BinaryExpression now keeps track of "left" and "right" as passed in,
so that they can be compared in ``__nonzero__`` prior to their
self_group() step. [ticket:2621]
Diffstat (limited to 'test/sql/test_selectable.py')
| -rw-r--r-- | test/sql/test_selectable.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/sql/test_selectable.py b/test/sql/test_selectable.py index 65dc65470..a60916b44 100644 --- a/test/sql/test_selectable.py +++ b/test/sql/test_selectable.py @@ -1287,7 +1287,9 @@ class AnnotationsTest(fixtures.TestBase): t.c.x, a, s, - s2 + s2, + t.c.x > 1, + (t.c.x > 1).label(None) ]: annot = obj._annotate({}) eq_(set([obj]), set([annot])) |
