From 7a225bbe1cc58660e8fdad8ce71fdd45096e8b99 Mon Sep 17 00:00:00 2001 From: Niels Bantilan Date: Wed, 22 Mar 2023 18:12:17 -0400 Subject: [PATCH] fix unit test xfail Signed-off-by: Niels Bantilan --- plugins/flytekit-papermill/tests/test_spark_notebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/flytekit-papermill/tests/test_spark_notebook.py b/plugins/flytekit-papermill/tests/test_spark_notebook.py index de41f3a3bf..cb69245640 100644 --- a/plugins/flytekit-papermill/tests/test_spark_notebook.py +++ b/plugins/flytekit-papermill/tests/test_spark_notebook.py @@ -20,7 +20,7 @@ def _get_nb_path(name: str, suffix: str = "", abs: bool = True, ext: str = ".ipy def test_notebook_task_simple(): - if sys.version_info[:3] == (3, 11, 0): + if sys.version_info[:2] >= (3, 11): pytest.xfail( "pyspark serialization issues will be addressed in version 3.4.0, issue tracking at: " "https://issues.apache.org/jira/browse/SPARK-41125"