diff options
author | Andreas Jaeger <aj@suse.com> | 2020-04-02 15:40:21 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2020-04-02 15:48:09 +0200 |
commit | 82da2378eaf1e2283ed623760d065cc972dd0871 (patch) | |
tree | fc218fd7bc0842837e665ebd403965d1419f20f7 /glanceclient/tests/functional/v1/test_readonly_glance.py | |
parent | 6b5a16302218400650458738899c1fcbd8f4abfd (diff) | |
download | python-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.py | 2 |
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: |