summaryrefslogtreecommitdiff
path: root/glanceclient/tests/functional/v2/test_readonly_glance.py
diff options
context:
space:
mode:
Diffstat (limited to 'glanceclient/tests/functional/v2/test_readonly_glance.py')
-rw-r--r--glanceclient/tests/functional/v2/test_readonly_glance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glanceclient/tests/functional/v2/test_readonly_glance.py b/glanceclient/tests/functional/v2/test_readonly_glance.py
index c024303..4d7f92d 100644
--- a/glanceclient/tests/functional/v2/test_readonly_glance.py
+++ b/glanceclient/tests/functional/v2/test_readonly_glance.py
@@ -72,7 +72,7 @@ class SimpleReadOnlyGlanceClientTest(base.ClientTestBase):
commands = []
cmds_start = lines.index('Positional arguments:')
cmds_end = lines.index('Optional arguments:')
- command_pattern = re.compile('^ {4}([a-z0-9\-\_]+)')
+ command_pattern = re.compile(r'^ {4}([a-z0-9\-\_]+)')
for line in lines[cmds_start:cmds_end]:
match = command_pattern.match(line)
if match: