diff options
-rw-r--r-- | Lib/test/test_pep277.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pep277.py b/Lib/test/test_pep277.py index a7e2f00..eff7ba4 100644 --- a/Lib/test/test_pep277.py +++ b/Lib/test/test_pep277.py @@ -98,7 +98,7 @@ class UnicodeFileTests(unittest.TestCase): if isinstance(exc_filename, bytes): filename = filename.encode(sys.getfilesystemencoding()) if check_fn_in_exception: - self.assertEqual(exc_filename, filename, "Function '%s(%r) failed " + self.assertEqual(exc_filename, filename, "Function '%s(%a) failed " "with bad filename in the exception: %r" % (fn.__name__, filename, exc_filename)) |