This is an automated email from the ASF dual-hosted git repository.

jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 463a7166f3c rm test_serde_serialize_recursion_limit to fix ci (#51737)
463a7166f3c is described below

commit 463a7166f3c27f39d23a145a8baba402be7b7d38
Author: Aaron Chen <[email protected]>
AuthorDate: Sat Jun 14 13:35:51 2025 -0700

    rm test_serde_serialize_recursion_limit to fix ci (#51737)
---
 .../tests/unit/serialization/serializers/test_serializers.py        | 6 ------
 1 file changed, 6 deletions(-)

diff --git 
a/airflow-core/tests/unit/serialization/serializers/test_serializers.py 
b/airflow-core/tests/unit/serialization/serializers/test_serializers.py
index 58cf0ba3cd4..6cc6505d48b 100644
--- a/airflow-core/tests/unit/serialization/serializers/test_serializers.py
+++ b/airflow-core/tests/unit/serialization/serializers/test_serializers.py
@@ -18,7 +18,6 @@ from __future__ import annotations
 
 import datetime
 import decimal
-import sys
 from importlib import metadata
 from unittest.mock import patch
 from zoneinfo import ZoneInfo
@@ -590,11 +589,6 @@ class TestSerializers:
         with pytest.raises(ValueError, match="cannot decode"):
             decode(bad)
 
-    def test_serde_serialize_recursion_limit(self):
-        depth = sys.getrecursionlimit() - 1
-        with pytest.raises(RecursionError, match="maximum recursion depth 
reached for serialization"):
-            serialize(object(), depth=depth)
-
     def test_serde_deserialize_with_type_hint_stringified(self):
         fake = {"a": 1, "b": 2, "__version__": 1}
         got = deserialize(fake, type_hint=dict, full=False)

Reply via email to