@@ -283,11 +283,11 @@ def test_numpy_array_equal_message(self):
283283\\ [right\\ ]: \\ [á, à, å\\ ]"""
284284
285285 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'å' ]))
288288 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'å' ]))
291291
292292 # allow to overwrite message
293293 expected = """Index are different
@@ -700,12 +700,16 @@ def test_frame_equal_message(self):
700700\\ [right\\ ]: \\ [é, è, e̊\\ ]"""
701701
702702 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̊' ]}))
705707
706708 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̊' ]}),
709713 by_blocks = True )
710714
711715
0 commit comments