Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
jsontests: python3.5's json.loads does not accept bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
afg authored and 0yi0 committed Aug 23, 2019
1 parent 3f28319 commit 119dd7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/jsontests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

def eni_xx(xx, libpath, name, input):
o = subprocess.check_output([xx, libpath, name, json.dumps(input)])
o = o.decode('utf-8')
return json.loads(o)


Expand Down

0 comments on commit 119dd7a

Please sign in to comment.