Commit af6a3c48 authored by Mathieu Giraud's avatar Mathieu Giraud

src/ fix Python 3.4 compatibility on 'j0:' tests

fix #63
as in
parent 760fc37c
Pipeline #2720 passed with stages
in 33 seconds
......@@ -744,7 +744,7 @@ class TestCase(TestCaseAbstract):
self.count = 1
except (json.decoder.JSONDecodeError, KeyError):
except (ValueError, KeyError):
# No json, or non-existent key: count is 0
self.json_data = JSON_KEY_NOT_FOUND
self.count = 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment