From: Berker Peksag Date: Mon, 7 Jul 2014 18:29:50 +0000 (+0300) Subject: Issue #21707: Fix tests on Windows. X-Git-Tag: v3.4.2rc1~258 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a90afbc7ee493227024bc04b476d914c494e72bb;p=python Issue #21707: Fix tests on Windows. --- diff --git a/Lib/test/test_modulefinder.py b/Lib/test/test_modulefinder.py index b5fdcc80c0..4c49e9aeaf 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)