Tests - Correct use of non-existent exception

This commit is contained in:
Renato Alves 2015-02-15 19:43:09 +00:00
parent ef583dedea
commit 880ab5d665

View file

@ -32,7 +32,7 @@ def json_decoder(string):
try:
return decoder(string)
except json.JSONDecodeError as e:
except ValueError as e:
return InvalidJSON(string, str(e))