Fix pycodestyle complaints

Apparently, pycodestyle updated itself to now check for invalid escape
sequences, which only complain if the regex in use isn't a raw string
(r"").
This commit is contained in:
Daniel Quinn committed 2018-09-09 20:00:12 +01:00
1 parent 5c39fff51b
commit 5342db6ada
4 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ class TestMatching(TestCase):
def test_match_regex(self):
self._test_matching(
"alpha\w+gamma",
r"alpha\w+gamma",
"MATCH_REGEX",
(
"I have alpha_and_gamma in me",