diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2021-07-21 21:23:37 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2021-07-21 21:23:37 +0000 |
| commit | 54ca40b8b3e4286183b64198573b55731b1ce363 (patch) | |
| tree | 453f951c8650999010bc2fd774abd5d5c21c1cee /test/sql/test_selectable.py | |
| parent | 79a27c9fcb1ba4909834a7e2d51c29afb0688cd5 (diff) | |
| parent | c2ea2b7308a376640cf051d33c7f2f06373487c9 (diff) | |
| download | sqlalchemy-54ca40b8b3e4286183b64198573b55731b1ce363.tar.gz | |
Merge "Modernize tests - legacy_select"
Diffstat (limited to 'test/sql/test_selectable.py')
| -rw-r--r-- | test/sql/test_selectable.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sql/test_selectable.py b/test/sql/test_selectable.py index 61e25ddd7..5a94d4038 100644 --- a/test/sql/test_selectable.py +++ b/test/sql/test_selectable.py @@ -3444,7 +3444,7 @@ class ResultMapTest(fixtures.TestBase): ) def test_plain_exists(self): - expr = exists([1]) + expr = exists(text("1")) eq_(type(expr.type), Boolean) eq_( [ @@ -3455,7 +3455,7 @@ class ResultMapTest(fixtures.TestBase): ) def test_plain_exists_negate(self): - expr = ~exists([1]) + expr = ~exists(text("1")) eq_(type(expr.type), Boolean) eq_( [ @@ -3466,7 +3466,7 @@ class ResultMapTest(fixtures.TestBase): ) def test_plain_exists_double_negate(self): - expr = ~(~exists([1])) + expr = ~(~exists(text("1"))) eq_(type(expr.type), Boolean) eq_( [ |
