Skip to content

Commit 64f288f

Browse files
committed
fix test_relational_expr
1 parent 6a374fb commit 64f288f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/tests/test_expr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ def test_relational_expr(test_ctx):
148148
assert df.filter(col("b") == "beta").count() == 1
149149
assert df.filter(col("b") != "beta").count() == 2
150150

151-
with pytest.raises(Exception):
152-
df.filter(col("a") == "beta").count()
151+
assert df.filter(col("a") == "beta").count() == 0
153152

154153

155154
def test_expr_to_variant():

0 commit comments

Comments
 (0)