summaryrefslogtreecommitdiff
path: root/src/mango/test/16-index-selectors.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mango/test/16-index-selectors.py')
-rw-r--r--src/mango/test/16-index-selectors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mango/test/16-index-selectors.py b/src/mango/test/16-index-selectors.py
index cc83251c9..3ce659ecf 100644
--- a/src/mango/test/16-index-selectors.py
+++ b/src/mango/test/16-index-selectors.py
@@ -143,7 +143,7 @@ class IndexSelectorJson(mango.DbPerClass):
selector = {"location": {"$gte": "FRA"}}
try:
self.db.create_index(["location"], selector=selector)
- except Exception, e:
+ except Exception as e:
assert e.response.status_code == 400
else:
raise AssertionError("bad index creation")