Skip to content

Commit

Permalink
Remove invalid DETACHED test
Browse files Browse the repository at this point in the history
DETACHED no longer works the way the test expects it to.
  • Loading branch information
elprans committed Dec 10, 2018
1 parent 70de44b commit c323d4b
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions tests/test_edgeql_expressions.py
Expand Up @@ -2101,37 +2101,6 @@ async def test_edgeql_expr_view_08(self):
[4, 5],
])

# XXX: DETACHED may no longer work this way at all
@unittest.expectedFailure
async def test_edgeql_expr_view_09(self):
await self.assert_sorted_query_result(r"""
# set some base cases
WITH a := {1, 2}
SELECT a + a;
# normally all scalar set literals are "DETACHED"
SELECT {1, 2} + {1, 2};
# DETACHED literals
WITH a := {1, 2}
SELECT a + DETACHED a;
WITH
a := {1, 2},
b := DETACHED a
SELECT a + b;
WITH
a := {1, 2},
b := DETACHED a
SELECT b + b;
""", lambda x: x, [
[2, 4],
[2, 3, 3, 4],
[2, 3, 3, 4],
[2, 3, 3, 4],
[2, 4],
])

async def test_edgeql_expr_for_01(self):
await self.assert_query_result(r"""
FOR x IN {1, 3, 5, 7}
Expand Down

0 comments on commit c323d4b

Please sign in to comment.