Get rid of the Latin-1 case

Here's a supposition: UTF-8 or bust
This commit is contained in:
Jean-Paul Calderone 2021-01-11 16:00:48 -05:00
parent 260706d330
commit b8abec6073

View File

@ -99,22 +99,6 @@ class ListAlias(GridTestMixin, CLITestMixin, unittest.TestCase):
)
def test_list_latin_1(self):
"""
An alias composed of all Latin-1-encodeable code points can be created
when the active encoding is Latin-1.
This is very similar to ``test_list_utf_8`` but the assumption of
UTF-8 is nearly ubiquitous and explicitly exercising the codepaths
with a UTF-8-incompatible encoding helps flush out unintentional UTF-8
assumptions.
"""
return self._check_create_alias(
u"taho\N{LATIN SMALL LETTER E WITH ACUTE}",
encoding="latin-1",
)
def test_list_utf_8(self):
"""
An alias composed of all UTF-8-encodeable code points can be created when