summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_pep277.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pep277.py b/Lib/test/test_pep277.py
index eff7ba493f..f1b7a59d71 100644
--- a/Lib/test/test_pep277.py
+++ b/Lib/test/test_pep277.py
@@ -99,7 +99,7 @@ class UnicodeFileTests(unittest.TestCase):
filename = filename.encode(sys.getfilesystemencoding())
if check_fn_in_exception:
self.assertEqual(exc_filename, filename, "Function '%s(%a) failed "
- "with bad filename in the exception: %r" %
+ "with bad filename in the exception: %a" %
(fn.__name__, filename, exc_filename))
def test_failures(self):