Closed
Description
Originally reported by Antoine Pitrou (Bitbucket: pitrou, GitHub: pitrou)
Some code generators (e.g. Template engines) can produce fake module names. Recently a test in the Tornado test suite has started failing with a non-ascii fake module name and a C locale:
https://travis-ci.org/tornadoweb/tornado/jobs/176023596#L1120
I would suggest that coverage.py catch UnicodeEncodeError at that point and consider the file as non-existing.