@@ -330,11 +330,13 @@ def test_parallel_coordinates_with_sorted_labels(self):
330330        ax  =  plotting .parallel_coordinates (df , "class" , sort_labels = True )
331331        polylines , labels  =  ax .get_legend_handles_labels ()
332332        color_label_tuples  =  zip (
333-             [polyline .get_color () for  polyline  in  polylines ], labels 
333+             [polyline .get_color () for  polyline  in  polylines ], labels ,  strict = True 
334334        )
335335        ordered_color_label_tuples  =  sorted (color_label_tuples , key = lambda  x : x [1 ])
336336        prev_next_tupels  =  zip (
337-             list (ordered_color_label_tuples [0 :- 1 ]), list (ordered_color_label_tuples [1 :])
337+             list (ordered_color_label_tuples [0 :- 1 ]),
338+             list (ordered_color_label_tuples [1 :]),
339+             strict = True ,
338340        )
339341        for  prev , nxt  in  prev_next_tupels :
340342            # labels and colors are ordered strictly increasing 
@@ -524,7 +526,7 @@ def test_bar_plot(self):
524526        plot_bar  =  df .plot .bar ()
525527        assert  all (
526528            (a .get_text () ==  b .get_text ())
527-             for  a , b  in  zip (plot_bar .get_xticklabels (), expected )
529+             for  a , b  in  zip (plot_bar .get_xticklabels (), expected ,  strict = True )
528530        )
529531
530532    def  test_barh_plot_labels_mixed_integer_string (self ):
@@ -539,7 +541,7 @@ def test_barh_plot_labels_mixed_integer_string(self):
539541        assert  all (
540542            actual .get_text () ==  expected .get_text ()
541543            for  actual , expected  in  zip (
542-                 plot_barh .get_yticklabels (), expected_yticklabels 
544+                 plot_barh .get_yticklabels (), expected_yticklabels ,  strict = True 
543545            )
544546        )
545547
@@ -681,7 +683,7 @@ def test_bar_plt_xaxis_intervalrange(self):
681683        _check_plot_works (s .plot .bar )
682684        assert  all (
683685            (a .get_text () ==  b .get_text ())
684-             for  a , b  in  zip (s .plot .bar ().get_xticklabels (), expected )
686+             for  a , b  in  zip (s .plot .bar ().get_xticklabels (), expected ,  strict = True )
685687        )
686688
687689
0 commit comments