Skip to content

Commit

Permalink
I always forget Python 3.5 json is special :/
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Nov 27, 2023
1 parent 7eca16f commit b350d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def execute_script(
)
)
chmod_plus_x(fp.name)
result = json.loads(subprocess.check_output(args=[fp.name] + list(extra_args)))
result = json.loads(subprocess.check_output(args=[fp.name] + list(extra_args)).decode("utf-8"))
assert [fp.name] + list(extra_args) == result["argv"]
return cast(str, result["shebang"])

Expand Down

0 comments on commit b350d19

Please sign in to comment.