@@ -283,11 +283,11 @@ def test_numpy_array_equal_message(self):
283
283
\\ [right\\ ]: \\ [á, à, å\\ ]"""
284
284
285
285
with tm .assert_raises_regex (AssertionError , expected ):
286
- assert_numpy_array_equal (np .array ([u"á" , u"à" , u"ä" ]),
287
- np .array ([u"á" , u"à" , u"å" ]))
286
+ assert_numpy_array_equal (np .array ([u'á' , u'à' , u'ä' ]),
287
+ np .array ([u'á' , u'à' , u'å' ]))
288
288
with tm .assert_raises_regex (AssertionError , expected ):
289
- assert_almost_equal (np .array ([u"á" , u"à" , u"ä" ]),
290
- np .array ([u"á" , u"à" , u"å" ]))
289
+ assert_almost_equal (np .array ([u'á' , u'à' , u'ä' ]),
290
+ np .array ([u'á' , u'à' , u'å' ]))
291
291
292
292
# allow to overwrite message
293
293
expected = """Index are different
@@ -700,12 +700,16 @@ def test_frame_equal_message(self):
700
700
\\ [right\\ ]: \\ [é, è, e̊\\ ]"""
701
701
702
702
with tm .assert_raises_regex (AssertionError , expected ):
703
- assert_frame_equal (pd .DataFrame ({'A' : [u"á" , u"à" , u"ä" ], 'E' : [u"é" , u"è" , u"ë" ]}),
704
- pd .DataFrame ({'A' : [u"á" , u"à" , u"ä" ], 'E' : [u"é" , u"è" , u"e̊" ]}))
703
+ assert_frame_equal (pd .DataFrame ({'A' : [u'á' , u'à' , u'ä' ],
704
+ 'E' : [u'é' , u'è' , u'ë' ]}),
705
+ pd .DataFrame ({'A' : [u'á' , u'à' , u'ä' ],
706
+ 'E' : [u'é' , u'è' , u'e̊' ]}))
705
707
706
708
with tm .assert_raises_regex (AssertionError , expected ):
707
- assert_frame_equal (pd .DataFrame ({'A' : [u"á" , u"à" , u"ä" ], 'E' : [u"é" , u"è" , u"ë" ]}),
708
- pd .DataFrame ({'A' : [u"á" , u"à" , u"ä" ], 'E' : [u"é" , u"è" , u"e̊" ]}),
709
+ assert_frame_equal (pd .DataFrame ({'A' : [u'á' , u'à' , u'ä' ],
710
+ 'E' : [u'é' , u'è' , u'ë' ]}),
711
+ pd .DataFrame ({'A' : [u'á' , u'à' , u'ä' ],
712
+ 'E' : [u'é' , u'è' , u'e̊' ]}),
709
713
by_blocks = True )
710
714
711
715
0 commit comments