summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_modulefinder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_modulefinder.py b/Lib/test/test_modulefinder.py
index b5fdcc8..4c49e9a 100644
--- a/Lib/test/test_modulefinder.py
+++ b/Lib/test/test_modulefinder.py
@@ -316,7 +316,7 @@ class ModuleFinderTest(unittest.TestCase):
self._do_test(maybe_test, debug=2,
replace_paths=[(old_path, new_path)])
output = output.getvalue()
- expected = "co_filename '%s' changed to '%s'" % (old_path, new_path)
+ expected = "co_filename %r changed to %r" % (old_path, new_path)
self.assertIn(expected, output)