Fokko commented on code in PR #2557:
URL: https://github.com/apache/iceberg-python/pull/2557#discussion_r2399919300


##########
tests/expressions/test_expressions.py:
##########
@@ -868,6 +868,13 @@ def test_not_in() -> None:
     assert not_in == eval(repr(not_in))
     assert not_in == pickle.loads(pickle.dumps(not_in))
 
+def test_serialize_in():

Review Comment:
   ```suggestion
   def test_serialize_in() -> None:
   ```



##########
tests/expressions/test_expressions.py:
##########
@@ -868,6 +868,13 @@ def test_not_in() -> None:
     assert not_in == eval(repr(not_in))
     assert not_in == pickle.loads(pickle.dumps(not_in))
 
+def test_serialize_in():
+    pred = In(term="foo", literals=[1, 2, 3])
+    assert pred.model_dump_json() == 
'{"type":"in","term":"foo","value":[1,2,3]}'
+
+def test_serialize_not_in():

Review Comment:
   ```suggestion
   def test_serialize_not_in() -> None:
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to