diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-10-14 11:17:43 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-10-15 10:15:08 +0200 |
commit | 6b1342253eecd83e514400fccc531205450b13d3 (patch) | |
tree | 44180789a4991c356740dbd2212b548ec35e7368 /tests/08_test_patch.py | |
parent | 497addcb69ddb53199c75d29004239e1cbb8495a (diff) |
Fix flake8's W605 (invalid escape sequence)
See also
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
Diffstat (limited to 'tests/08_test_patch.py')
-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 b4ba2b8f..c0f3e5ce 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(r'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) |