Skip to content

Commit

Permalink
CI: Fix fastparquet failure from new release
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd committed Nov 16, 2024
1 parent fae3e80 commit f5b3c07
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pandas/tests/io/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,6 @@ def test_non_nanosecond_timestamps(self, temp_file):


class TestParquetFastParquet(Base):
@pytest.mark.xfail(reason="datetime_with_nat gets incorrect values")
def test_basic(self, fp, df_full):
pytz = pytest.importorskip("pytz")
tz = pytz.timezone("US/Eastern")
Expand Down Expand Up @@ -1213,10 +1212,6 @@ def test_duplicate_columns(self, fp):
msg = "Cannot create parquet dataset with duplicate column names"
self.check_error_on_write(df, fp, ValueError, msg)

@pytest.mark.xfail(
Version(np.__version__) >= Version("2.0.0"),
reason="fastparquet uses np.float_ in numpy2",
)
def test_bool_with_none(self, fp):
df = pd.DataFrame({"a": [True, None, False]})
expected = pd.DataFrame({"a": [1.0, np.nan, 0.0]}, dtype="float16")
Expand Down Expand Up @@ -1331,9 +1326,6 @@ def test_empty_dataframe(self, fp):
expected = df.copy()
check_round_trip(df, fp, expected=expected)

@pytest.mark.xfail(
reason="fastparquet bug, see https://github.com/dask/fastparquet/issues/929"
)
def test_timezone_aware_index(self, fp, timezone_aware_date_list):
idx = 5 * [timezone_aware_date_list]

Expand Down

0 comments on commit f5b3c07

Please sign in to comment.