Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
Fix json decoder test
Browse files Browse the repository at this point in the history
  • Loading branch information
mohabusama committed Apr 9, 2019
1 parent 5b81d7a commit f0b508a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmon_worker_monitor/zmon_worker/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down

0 comments on commit f0b508a

Please sign in to comment.