@@ -671,7 +671,7 @@ def test_wide_repr_named(self):
671
671
wide_repr = repr (df )
672
672
self .assert_ (rep_str != wide_repr )
673
673
674
- with option_context ('display.width' , 120 ):
674
+ with option_context ('display.width' , 150 ):
675
675
wider_repr = repr (df )
676
676
self .assert_ (len (wider_repr ) < len (wide_repr ))
677
677
@@ -694,7 +694,7 @@ def test_wide_repr_multiindex(self):
694
694
wide_repr = repr (df )
695
695
self .assert_ (rep_str != wide_repr )
696
696
697
- with option_context ('display.width' , 120 ):
697
+ with option_context ('display.width' , 150 ):
698
698
wider_repr = repr (df )
699
699
self .assert_ (len (wider_repr ) < len (wide_repr ))
700
700
@@ -719,10 +719,9 @@ def test_wide_repr_multiindex_cols(self):
719
719
wide_repr = repr (df )
720
720
self .assert_ (rep_str != wide_repr )
721
721
722
- with option_context ('display.width' , 120 ):
722
+ with option_context ('display.width' , 150 ):
723
723
wider_repr = repr (df )
724
724
self .assert_ (len (wider_repr ) < len (wide_repr ))
725
- self .assert_ (len (wide_repr .splitlines ()) == 14 * 10 - 1 )
726
725
727
726
reset_option ('display.expand_frame_repr' )
728
727
@@ -736,7 +735,7 @@ def test_wide_repr_unicode(self):
736
735
wide_repr = repr (df )
737
736
self .assert_ (rep_str != wide_repr )
738
737
739
- with option_context ('display.width' , 120 ):
738
+ with option_context ('display.width' , 150 ):
740
739
wider_repr = repr (df )
741
740
self .assert_ (len (wider_repr ) < len (wide_repr ))
742
741
0 commit comments