From f0b508ad0af23be5e617039460f06d4609d8fa1b Mon Sep 17 00:00:00 2001 From: Mohab Usama Date: Tue, 9 Apr 2019 14:18:58 +0200 Subject: [PATCH] Fix json decoder test --- zmon_worker_monitor/zmon_worker/encoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmon_worker_monitor/zmon_worker/encoder.py b/zmon_worker_monitor/zmon_worker/encoder.py index 222aafef..54186372 100644 --- a/zmon_worker_monitor/zmon_worker/encoder.py +++ b/zmon_worker_monitor/zmon_worker/encoder.py @@ -22,7 +22,7 @@ def default(self, o): 'null' >>> JsonDataEncoder().encode(numpy.Infinity) '"Infinity"' - >>> JsonDataEncoder().encode(b'spaß') + >>> JsonDataEncoder().encode(b'spa\xc3\x9f') '"spaß"' ''' if isinstance(o, (datetime.datetime, datetime.date, datetime.time)):