Skip to content

Commit 0905daf

Browse files
jrebacktp
authored and
tp
committed
add ids to parametrization
1 parent df34142 commit 0905daf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/tests/reshape/test_concat.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ def test_append_preserve_index_name(self):
840840
dt.datetime(2013, 1, 3, 6, 10),
841841
dt.datetime(2013, 1, 3, 7, 12)]),
842842
pd.Index([1, 2, 3]),
843-
])
843+
], ids=lambda x: x.__class__.__name__)
844844
def test_append_same_columns_type(self, df_columns):
845845
# GH18359
846846

@@ -873,7 +873,7 @@ def test_append_same_columns_type(self, df_columns):
873873
pd.DatetimeIndex([dt.datetime(2013, 1, 3, 0, 0),
874874
dt.datetime(2013, 1, 3, 6, 10),
875875
dt.datetime(2013, 1, 3, 7, 12)]),
876-
], r=2))
876+
], r=2), ids=lambda x: x.__class__.__name__)
877877
def test_append_different_columns_types(self, df_columns, series_index):
878878
# GH18359
879879
# see also tests 'test_append_multi_index_raises' and
@@ -900,7 +900,7 @@ def test_append_different_columns_types(self, df_columns, series_index):
900900
dt.datetime(2013, 1, 3, 6, 10),
901901
dt.datetime(2013, 1, 3, 7, 12)]),
902902
pd.Index([4, 5, 6]),
903-
])
903+
], ids=lambda x: x.__class__.__name__)
904904
def test_append_multi_index_raises(self, other_type):
905905
# GH18359
906906
# .append will raise if MultiIndex appends or is appended to a
@@ -928,7 +928,7 @@ def test_append_multi_index_raises(self, other_type):
928928
dt.datetime(2013, 1, 3, 6, 10),
929929
dt.datetime(2013, 1, 3, 7, 12)]),
930930
pd.Index([4, 5, 6]),
931-
])
931+
], ids=lambda x: x.__class__.__name__)
932932
def test_append_interval_index_raises(self, other_type):
933933
# GH18359
934934
# .append will raise if IntervalIndex appends or is appended to a

0 commit comments

Comments
 (0)