Test for UnicodeError instead of ImportError to determine whether
the test file name can be encoded.
1 file changed