def test_ordinal_number(self): locale = locales.FrenchLocale() self.assertEqual(locale.ordinal_number(1), "1er") self.assertEqual(locale.ordinal_number(2), "2e")
def test_ordinal_number(self): locale = locales.FrenchLocale() assertEqual(locale.ordinal_number(1), '1er') assertEqual(locale.ordinal_number(2), '2e')
def test_ordinal_number(self): locale = locales.FrenchLocale() assert locale.ordinal_number(1) == "1er" assert locale.ordinal_number(2) == "2e"