From 1c2dfa3b999fa693d4bc3c10c06f01c896fb7365 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Thu, 7 Mar 2019 16:18:05 +0100 Subject: Test: Fix docker with python 3.5 --- test/analysis/dg_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/analysis') diff --git a/test/analysis/dg_check.py b/test/analysis/dg_check.py index a50855ef..d5307367 100644 --- a/test/analysis/dg_check.py +++ b/test/analysis/dg_check.py @@ -10,7 +10,7 @@ dg = subprocess.Popen([sys.executable] + sys.argv[2:], stdout=subprocess.PIPE) stdout, _ = dg.communicate() expected = json.load(open(expected_file)) -result = json.loads(stdout) +result = json.loads(stdout.decode()) assert len(expected) == len(result) -- cgit 1.4.1