summaryrefslogtreecommitdiff
path: root/trove/tests/unittests/api/common
diff options
context:
space:
mode:
authorDirk Mueller <dirk@dmllr.de>2013-06-25 14:19:56 +0200
committerDirk Mueller <dirk@dmllr.de>2013-07-03 14:04:17 +0200
commit7b0ed4f49c941424d815b959522e021f507f878c (patch)
tree7de8a890888364dd2cd859e7430bc46b2bf39a2f /trove/tests/unittests/api/common
parenteafc62f61b1a3b1294f557f676e33f831af0ce77 (diff)
downloadtrove-7b0ed4f49c941424d815b959522e021f507f878c.tar.gz
Python 3.x compatibility fixes
Mechanical translation of the easy-to-fix Python 2.x->3.x compatibility issues. Should work with all Python versions >= 2.6. Change-Id: I693ff5d72b2db8d9d3a3347f70f22290897e9cff
Diffstat (limited to 'trove/tests/unittests/api/common')
-rw-r--r--trove/tests/unittests/api/common/test_limits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/trove/tests/unittests/api/common/test_limits.py b/trove/tests/unittests/api/common/test_limits.py
index bcf4e3b3..69f067d6 100644
--- a/trove/tests/unittests/api/common/test_limits.py
+++ b/trove/tests/unittests/api/common/test_limits.py
@@ -329,7 +329,7 @@ class ParseLimitsTest(BaseLimitTestSuite):
'(PUT, /foo*, /foo.*, 10, hour);'
'(POST, /bar*, /bar.*, 5, second);'
'(Say, /derp*, /derp.*, 1, day)')
- except ValueError, e:
+ except ValueError as e:
assert False, str(e)
# Make sure the number of returned limits are correct