Skip to content

Commit 34d189f

Browse files
author
Marc Garcia
committed
Adding debug info in the CI for failing test
1 parent 42a1b35 commit 34d189f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pandas/tests/plotting/test_misc.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,13 @@ def test_parallel_coordinates_with_sorted_labels(self):
262262
prev_next_tupels = zip([i for i in ordered_color_label_tuples[0:-1]],
263263
[i for i in ordered_color_label_tuples[1:]])
264264
for prev, nxt in prev_next_tupels:
265+
# FIXME: Showing in the CI what's in ordered_color_label_tuples
266+
if ((isinstance(prev[1], list) and isinstance(nxt[1], str))
267+
or (isinstance(prev[0], list)
268+
and isinstance(nxt[0], str))):
269+
raise ValueError('ordered_color_label_tuples: {}'.format(
270+
ordered_color_label_tuples))
271+
265272
# labels and colors are ordered strictly increasing
266273
assert prev[1] < nxt[1] and prev[0] < nxt[0]
267274

0 commit comments

Comments
 (0)