summaryrefslogtreecommitdiff
path: root/glanceclient/tests/functional/v1/test_readonly_glance.py
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-04-02 15:40:21 +0200
committerAndreas Jaeger <aj@suse.com>2020-04-02 15:48:09 +0200
commit82da2378eaf1e2283ed623760d065cc972dd0871 (patch)
treefc218fd7bc0842837e665ebd403965d1419f20f7 /glanceclient/tests/functional/v1/test_readonly_glance.py
parent6b5a16302218400650458738899c1fcbd8f4abfd (diff)
downloadpython-glanceclient-82da2378eaf1e2283ed623760d065cc972dd0871.tar.gz
Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Remove hacking and friends from lower-constraints, they are not needed for installation. Change-Id: I5ae47a7b11ff29a301e440c15daf30db7738485b
Diffstat (limited to 'glanceclient/tests/functional/v1/test_readonly_glance.py')
-rw-r--r--glanceclient/tests/functional/v1/test_readonly_glance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glanceclient/tests/functional/v1/test_readonly_glance.py b/glanceclient/tests/functional/v1/test_readonly_glance.py
index 122c61b..a7024aa 100644
--- a/glanceclient/tests/functional/v1/test_readonly_glance.py
+++ b/glanceclient/tests/functional/v1/test_readonly_glance.py
@@ -52,7 +52,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: