devtools/testlib.py
changeset 10700 a6d9d27f4253
parent 10689 49a62b8f6d43
child 10755 4c48d3bab38c
--- a/devtools/testlib.py	Wed Sep 16 18:43:02 2015 +0200
+++ b/devtools/testlib.py	Wed Sep 16 18:43:19 2015 +0200
@@ -88,7 +88,7 @@
 
 class JsonValidator(object):
     def parse_string(self, data):
-        return json.loads(data)
+        return json.loads(data.decode('ascii'))
 
 @contextmanager
 def real_error_handling(app):