From dcb7cb3a3045dc0fab316fe93f32f13d0c2cce51 Mon Sep 17 00:00:00 2001 From: Fangchen Li Date: Mon, 21 Jun 2021 14:26:01 -0500 Subject: [PATCH] Backport PR #42132: CI: skip json tests for Python 3.10 #42130 --- pandas/tests/io/json/test_pandas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tests/io/json/test_pandas.py b/pandas/tests/io/json/test_pandas.py index 0ffc6044a5897..2d418fcbcc395 100644 --- a/pandas/tests/io/json/test_pandas.py +++ b/pandas/tests/io/json/test_pandas.py @@ -28,8 +28,6 @@ ) import pandas._testing as tm -pytestmark = pytest.mark.skipif(PY310, reason="timeout with coverage") - _seriesd = tm.getSeriesData() _frame = DataFrame(_seriesd) @@ -1181,6 +1179,7 @@ def test_sparse(self): expected = s.to_json() assert expected == ss.to_json() + @pytest.mark.skipif(PY310, reason="segfault GH 42130") @pytest.mark.parametrize( "ts", [ @@ -1198,6 +1197,7 @@ def test_tz_is_utc(self, ts): dt = ts.to_pydatetime() assert dumps(dt, iso_dates=True) == exp + @pytest.mark.skipif(PY310, reason="segfault GH 42130") @pytest.mark.parametrize( "tz_range", [