From 30c79bf6787132634ddee2f45ef523c40c8b2abb Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Mon, 11 Jan 2021 09:51:36 -0500 Subject: [PATCH] make sure executable is unicode too, if that matters --- src/allmydata/test/test_windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_windows.py b/src/allmydata/test/test_windows.py index fddb60389..1d8173de7 100644 --- a/src/allmydata/test/test_windows.py +++ b/src/allmydata/test/test_windows.py @@ -117,7 +117,7 @@ class GetArgvTests(SyncTestCase): from subprocess import ( PIPE, ) - argv = [executable, save_argv_path.path] + argv + argv = [executable.decode("utf-8"), save_argv_path.path] + argv returncode = Popen(argv, stdin=PIPE, stdout=PIPE, stderr=PIPE).wait() self.assertThat( returncode,