Issue #21707: Fix tests on Windows.

This commit is contained in:
Berker Peksag 2014-07-07 21:29:50 +03:00
parent 799a60ccb4
commit a90afbc7ee

View file

@ -316,7 +316,7 @@ def test_replace_paths(self):
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)