Issue #10161: test_pep277 formats filenames with ascii() on error

As suggested by Antoine, it's better to patch only test_pep277 than the
unittest module.
1 file changed