MacOS can return CamelCased FQDN for the local host, e.g. Mac-1137.local.
At least I see it on Azure CI for aiohttp project.
IIRC the name should be lower-cased.
Well, technically the upper case is supported still, the comparison rule is case-insensitive.
But lower-casing is highly recommended, yarl should apply this conversion.