mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-03 19:54:09 +00:00
make sure executable is unicode too, if that matters
This commit is contained in:
parent
b5f0e21ef8
commit
30c79bf678
@ -117,7 +117,7 @@ class GetArgvTests(SyncTestCase):
|
|||||||
from subprocess import (
|
from subprocess import (
|
||||||
PIPE,
|
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()
|
returncode = Popen(argv, stdin=PIPE, stdout=PIPE, stderr=PIPE).wait()
|
||||||
self.assertThat(
|
self.assertThat(
|
||||||
returncode,
|
returncode,
|
||||||
|
Loading…
Reference in New Issue
Block a user