Skip to content

Commit

Permalink
fix: correct version check for tempfile.delete_on_close (Python 3.12)…
Browse files Browse the repository at this point in the history
… feature (#2939)

Signed-off-by: davidlin20dev <[email protected]>
  • Loading branch information
davidlin20dev authored Nov 19, 2024
1 parent 39e7227 commit faee3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/flytekit/unit/interaction/test_click_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit faee3da

Please sign in to comment.