def test_fix(self): # Assert fix for common Unicode mistakes. self.assertEqual(web.fix(u"cliché"), u"cliché") self.assertEqual(web.fix("cliché"), u"cliché") self.assertEqual(web.fix("cliché"), u"cliché") self.assertEqual(web.fix("–"), u"–")
def test_fix(self): # Assert fix for common Unicode mistakes. self.assertEqual(web.fix("cliché"), "cliché") self.assertEqual(web.fix("cliché"), "cliché") self.assertEqual(web.fix("cliché"), "cliché") self.assertEqual(web.fix("–"), "–")