summaryrefslogtreecommitdiff
path: root/test/sql/test_selectable.py
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2021-07-21 21:23:37 +0000
committerGerrit Code Review <gerrit@ci3.zzzcomputing.com>2021-07-21 21:23:37 +0000
commit54ca40b8b3e4286183b64198573b55731b1ce363 (patch)
tree453f951c8650999010bc2fd774abd5d5c21c1cee /test/sql/test_selectable.py
parent79a27c9fcb1ba4909834a7e2d51c29afb0688cd5 (diff)
parentc2ea2b7308a376640cf051d33c7f2f06373487c9 (diff)
downloadsqlalchemy-54ca40b8b3e4286183b64198573b55731b1ce363.tar.gz
Merge "Modernize tests - legacy_select"
Diffstat (limited to 'test/sql/test_selectable.py')
-rw-r--r--test/sql/test_selectable.py6
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_(
[