From 6c1c179e548dc6e60cad1c9c0d3ff4dea2e1f4a2 Mon Sep 17 00:00:00 2001 From: davidlin20dev Date: Mon, 18 Nov 2024 19:35:58 -0800 Subject: [PATCH] fix: correct version check for tempfile.delete_on_close (Python 3.12) feature Signed-off-by: davidlin20dev --- tests/flytekit/unit/interaction/test_click_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/flytekit/unit/interaction/test_click_types.py b/tests/flytekit/unit/interaction/test_click_types.py index d3956fdba3..2ab0d8721f 100644 --- a/tests/flytekit/unit/interaction/test_click_types.py +++ b/tests/flytekit/unit/interaction/test_click_types.py @@ -503,7 +503,7 @@ class Datum: @pytest.mark.skipif( - sys.version_info < (3, 10), reason="handling for windows is nicer with delete_on_close, which doesn't exist in 3.9" + sys.version_info < (3, 12), reason="handling for windows is nicer with delete_on_close, which doesn't exist before 3.12" ) def test_pickle_type(): t = PickleParamType()