From b350d19821ce3ec1902cb0b570ebb25ccff2c1eb Mon Sep 17 00:00:00 2001 From: John Sirois Date: Mon, 27 Nov 2023 15:50:19 -0800 Subject: [PATCH] I always forget Python 3.5 json is special :/ --- tests/test_interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_interpreter.py b/tests/test_interpreter.py index 2c6e713ac..6ade7f8bb 100644 --- a/tests/test_interpreter.py +++ b/tests/test_interpreter.py @@ -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"])