Commit 629862bf authored by Jérome Perrin's avatar Jérome Perrin

tests: fix Anomalous backslash in string

[pylint] Anomalous backslash in string: '\S'. String constant might be
missing an r prefix.
parent a188caa4
...@@ -107,9 +107,9 @@ def test_suite(): ...@@ -107,9 +107,9 @@ def test_suite():
kwargs = dict(setUp=setUp, kwargs = dict(setUp=setUp,
tearDown=zc.buildout.testing.buildoutTearDown, tearDown=zc.buildout.testing.buildoutTearDown,
checker=renormalizing.RENormalizing([ checker=renormalizing.RENormalizing([
(re.compile('--prefix=\S+sample-buildout'), (re.compile(r'--prefix=\S+sample-buildout'),
'--prefix=/sample_buildout'), '--prefix=/sample_buildout'),
(re.compile('\s/\S+sample-buildout'), (re.compile(r'\s/\S+sample-buildout'),
' /sample_buildout'), ' /sample_buildout'),
(re.compile(sys.executable), (re.compile(sys.executable),
'/system_python'), '/system_python'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment