Skip to content

Commit de87386

Browse files
Backport PR #32284: CI: nested DataFrames in npdev (#32366)
Co-authored-by: jbrockmendel <[email protected]>
1 parent 84018bd commit de87386

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tests/frame/test_constructors.py

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import pytest
1010

1111
from pandas.compat import is_platform_little_endian
12+
from pandas.compat.numpy import _is_numpy_dev
1213

1314
from pandas.core.dtypes.common import is_integer_dtype
1415

@@ -144,6 +145,7 @@ def test_constructor_dtype_list_data(self):
144145
assert df.loc[1, 0] is None
145146
assert df.loc[0, 1] == "2"
146147

148+
@pytest.mark.xfail(_is_numpy_dev, reason="Interprets list of frame as 3D")
147149
def test_constructor_list_frames(self):
148150
# see gh-3243
149151
result = DataFrame([DataFrame()])
@@ -496,6 +498,7 @@ def test_constructor_error_msgs(self):
496498
with pytest.raises(ValueError, match=msg):
497499
DataFrame({"a": False, "b": True})
498500

501+
@pytest.mark.xfail(_is_numpy_dev, reason="Interprets embedded frame as 3D")
499502
def test_constructor_with_embedded_frames(self):
500503

501504
# embedded data frames

0 commit comments

Comments
 (0)