File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 99import pytest
1010
1111from pandas .compat import is_platform_little_endian
12+ from pandas .compat .numpy import _is_numpy_dev
1213
1314from 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 ()])
@@ -503,6 +505,7 @@ def test_constructor_error_msgs(self):
503505 with pytest .raises (ValueError , match = msg ):
504506 DataFrame ({"a" : False , "b" : True })
505507
508+ @pytest .mark .xfail (_is_numpy_dev , reason = "Interprets embedded frame as 3D" )
506509 def test_constructor_with_embedded_frames (self ):
507510
508511 # embedded data frames
You can’t perform that action at this time.
0 commit comments