summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-07-07 18:29:50 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-07-07 18:29:50 (GMT)
commita90afbc7ee493227024bc04b476d914c494e72bb (patch)
treee9b2f45ad2f8c3336777018aff9c226ed6002958
parent799a60ccb4efec5e01c076f0a9b08ed7f4b3fc10 (diff)
downloadcpython-a90afbc7ee493227024bc04b476d914c494e72bb.zip
cpython-a90afbc7ee493227024bc04b476d914c494e72bb.tar.gz
cpython-a90afbc7ee493227024bc04b476d914c494e72bb.tar.bz2
Issue #21707: Fix tests on Windows.
-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)