Skip to content

Commit e3d57c9

Browse files
authored
TST: Un-xfail tests on numpy-dev (#41987)
1 parent 0b68d87 commit e3d57c9

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

pandas/tests/frame/methods/test_to_records.py

+2-12
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import numpy as np
44
import pytest
55

6-
from pandas.compat import is_numpy_dev
7-
86
from pandas import (
97
CategoricalDtype,
108
DataFrame,
@@ -173,28 +171,20 @@ def test_to_records_with_categorical(self):
173171
),
174172
),
175173
# Pass in a type instance.
176-
pytest.param(
174+
(
177175
{"column_dtypes": str},
178176
np.rec.array(
179177
[("0", "1", "0.2", "a"), ("1", "2", "1.5", "bc")],
180178
dtype=[("index", "<i8"), ("A", "<U"), ("B", "<U"), ("C", "<U")],
181179
),
182-
marks=pytest.mark.xfail(
183-
is_numpy_dev,
184-
reason="https://github.com/numpy/numpy/issues/19078",
185-
),
186180
),
187181
# Pass in a dtype instance.
188-
pytest.param(
182+
(
189183
{"column_dtypes": np.dtype("unicode")},
190184
np.rec.array(
191185
[("0", "1", "0.2", "a"), ("1", "2", "1.5", "bc")],
192186
dtype=[("index", "<i8"), ("A", "<U"), ("B", "<U"), ("C", "<U")],
193187
),
194-
marks=pytest.mark.xfail(
195-
is_numpy_dev,
196-
reason="https://github.com/numpy/numpy/issues/19078",
197-
),
198188
),
199189
# Pass in a dictionary (name-only).
200190
(

0 commit comments

Comments
 (0)