diff --git a/test-requirements.txt b/test-requirements.txt index ef2a53d..15a745f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,5 +2,5 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking>=0.10.0,<0.11 +hacking>=3.0,<3.1.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0 diff --git a/tests/test_titles.py b/tests/test_titles.py index afe7f7a..5dd9982 100644 --- a/tests/test_titles.py +++ b/tests/test_titles.py @@ -84,7 +84,7 @@ class TestTitles(testtools.TestCase): if line.startswith("..") and "image::" in line: continue # Allow lines which do not contain any whitespace - if re.match("\s*[^\s]+$", line): + if re.match(r"\s*[^\s]+$", line): continue self.assertTrue( len(line) < 80,