From b0c99cb049e699a553785fcc5413cb0aaa1342aa Mon Sep 17 00:00:00 2001 From: Valentyn Tymofieiev Date: Thu, 9 May 2024 17:42:52 -0700 Subject: [PATCH] Exclude a test that doesn't pass due to an upstream issue. --- sdks/python/apache_beam/dataframe/frames_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdks/python/apache_beam/dataframe/frames_test.py b/sdks/python/apache_beam/dataframe/frames_test.py index 3ee9adc2bfe2..b3ddfee95fca 100644 --- a/sdks/python/apache_beam/dataframe/frames_test.py +++ b/sdks/python/apache_beam/dataframe/frames_test.py @@ -15,6 +15,7 @@ # limitations under the License. import re +import sys import unittest import warnings from typing import Dict @@ -1447,6 +1448,9 @@ def test_unstack_pandas_example2(self): s = pd.Series(np.arange(1.0, 5.0), index=index) self._run_test(lambda s: s.unstack(level=0), s) + @unittest.skipIf( + sys.version_info >= (2, 12) and PD_VERSION < (2, 3), + 'https://github.com/pandas-dev/pandas/issues/58604') def test_unstack_pandas_example3(self): index = self._unstack_get_categorical_index() s = pd.Series(np.arange(1.0, 5.0), index=index)