diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-14 14:16:43 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-14 15:17:27 +0100 |
commit | abb6ed4ddf3471a2f3319799cad7ef7586662a3b (patch) | |
tree | 2d4325d5cdf6934a6ea647a181b5e31bd00f4cb1 | |
parent | 4d10ab214e26ee5e31a70f9f07cdb6b7d7272fb6 (diff) |
Escape: Double a couple of \ in a message
Using r'...' here seems unwise, so double the \ instead.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r-- | tests/08_test_patch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/08_test_patch.py b/tests/08_test_patch.py index 3ed16eb..89fbada 100644 --- a/tests/08_test_patch.py +++ b/tests/08_test_patch.py @@ -48,7 +48,7 @@ class TestDep3Patch(unittest.TestCase): patchfile = os.path.join(self.data_dir, "dep3-iso8859-1.patch") self.assertTrue(os.path.exists(patchfile)) p = Dep3Patch(patchfile) - self.assertEqual('Replace all -- in man page by \-\- to make lintian happy.', p.subject) + self.assertEqual('Replace all -- in man page by \\-\\- to make lintian happy.', p.subject) self.assertEqual("Roland Rosenfeld", p.author) self.assertEqual("roland@debian.org", p.email) self.assertEqual("", p.long_desc) |