| 1 | import inflect |
| 2 | |
| 3 | |
| 4 | def test_ancient_1(): |
| 5 | p = inflect.engine() |
| 6 | |
| 7 | # DEFAULT... |
| 8 | |
| 9 | assert p.plural_noun("error", 0) == "errors" |
| 10 | |
| 11 | # "person" PLURALS ACTIVATED... |
| 12 | |
| 13 | p.classical(zero=True) |
| 14 | assert p.plural_noun("error", 0) == "error" |
| 15 | |
| 16 | # OTHER CLASSICALS NOT ACTIVATED... |
| 17 | |
| 18 | assert p.plural_noun("wildebeest") == "wildebeests" |
| 19 | assert p.plural_noun("formula") == "formulas" |
| 20 | assert p.plural_noun("person") == "people" |
| 21 | assert p.plural_noun("brother") == "brothers" |
| 22 | assert p.plural_noun("Sally") == "Sallys" |