Eason09053360 commented on code in PR #61182:
URL: https://github.com/apache/airflow/pull/61182#discussion_r2741138629


##########
task-sdk/tests/task_sdk/serde/test_serializers.py:
##########
@@ -679,3 +675,7 @@ def test_uuid_roundtrip(self, uuid_value):
         deserialized = deserialize(serialized)
         assert isinstance(deserialized, uuid.UUID)
         assert uuid_value == deserialized
+    def test_serde_serialize_recursion_limit(self):
+        depth = MAX_RECURSION_DEPTH
+        with pytest.raises(RecursionError, match="maximum recursion depth 
reached for serialization"):
+            serialize(object(), depth=depth)

Review Comment:
   I am fixing a test (readding a previously removed flaky test with a fix)



-- 
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]

Reply via email to