Skip to content

Commit 590916f

Browse files
mnaberezalexsilva
authored andcommitted
Fix Pytest DeprecationWarning: invalid escape sequence \s
(cherry picked from commit 7d2f8eb)
1 parent 220bc69 commit 590916f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

supervisor/tests/test_end_to_end.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test_issue_1054(self):
123123
args = ['-m', 'supervisor.supervisorctl', '-c', filename, 'avail']
124124
supervisorctl = pexpect.spawn(sys.executable, args, encoding='utf-8')
125125
try:
126-
supervisorctl.expect('cat\s+in use\\s+auto', timeout=30)
126+
supervisorctl.expect('cat\\s+in use\\s+auto', timeout=30)
127127
seen = True
128128
except pexpect.ExceptionPexpect:
129129
seen = False

0 commit comments

Comments
 (0)