File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 11import numpy as np
22import pytest
33
4+ from pandas ._config import using_string_dtype
5+
46import pandas as pd
57from pandas import (
68 DataFrame ,
@@ -238,6 +240,8 @@ def test_concat_empty_dataframe_dtypes(self):
238240 assert result ["b" ].dtype == np .float64
239241 assert result ["c" ].dtype == np .float64
240242
243+ # triggers warning about empty entries
244+ @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
241245 def test_concat_inner_join_empty (self ):
242246 # GH 15328
243247 df_empty = DataFrame ()
Original file line number Diff line number Diff line change 33import numpy as np
44import pytest
55
6+ from pandas ._config import using_string_dtype
7+
68import pandas .util ._test_decorators as td
79
810import pandas as pd
@@ -341,6 +343,8 @@ def test_join_index_mixed_overlap(self):
341343 expected = _join_by_hand (df1 , df2 )
342344 tm .assert_frame_equal (joined , expected )
343345
346+ # triggers warning about empty entries
347+ @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" )
344348 def test_join_empty_bug (self ):
345349 # generated an exception in 0.4.3
346350 x = DataFrame ()
You can’t perform that action at this time.
0 commit comments