summaryrefslogtreecommitdiff
path: root/keystonemiddleware/tests/unit/utils.py
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-03-27 21:06:18 +0100
committerAndreas Jaeger <jaegerandi@gmail.com>2020-03-30 10:32:07 +0000
commitf32fcc6623ccaf4c465700c23fa20f66c5c79daf (patch)
tree20c48df01fedfeb0b59f03a5416d415e50f52ac4 /keystonemiddleware/tests/unit/utils.py
parent66352680ab7abc1c2bcc0dbe61c5558c41e4ff20 (diff)
downloadkeystonemiddleware-f32fcc6623ccaf4c465700c23fa20f66c5c79daf.tar.gz
Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Blacklist: W504 line break after binary operator W503 line break before binary operator Fix other problems found Change-Id: I2fb257a4f42b499df3702f3e8f3c99ecb28557d6
Diffstat (limited to 'keystonemiddleware/tests/unit/utils.py')
-rw-r--r--keystonemiddleware/tests/unit/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystonemiddleware/tests/unit/utils.py b/keystonemiddleware/tests/unit/utils.py
index 6a07ec1..8b0944f 100644
--- a/keystonemiddleware/tests/unit/utils.py
+++ b/keystonemiddleware/tests/unit/utils.py
@@ -82,7 +82,7 @@ if tuple(sys.version_info)[0:2] < (2, 7):
class MiddlewareTestCase(BaseTestCase):
def create_middleware(self, cb, **kwargs):
- raise NotImplemented("implement this in your tests")
+ raise NotImplementedError("implement this in your tests")
def create_simple_middleware(self,
status='200 OK',