From ca27f06b95966933f93970eec10b3bf04f57eb11 Mon Sep 17 00:00:00 2001 From: Mohab Usama Date: Tue, 9 Apr 2019 14:59:35 +0200 Subject: [PATCH] Fix doctest --- zmon_worker_monitor/zmon_worker/encoder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zmon_worker_monitor/zmon_worker/encoder.py b/zmon_worker_monitor/zmon_worker/encoder.py index 54186372..c5b9d808 100644 --- a/zmon_worker_monitor/zmon_worker/encoder.py +++ b/zmon_worker_monitor/zmon_worker/encoder.py @@ -22,8 +22,8 @@ def default(self, o): 'null' >>> JsonDataEncoder().encode(numpy.Infinity) '"Infinity"' - >>> JsonDataEncoder().encode(b'spa\xc3\x9f') - '"spaß"' + >>> JsonDataEncoder().encode(b'bytes') + '"bytes"' ''' if isinstance(o, (datetime.datetime, datetime.date, datetime.time)): return o.isoformat()