Skip to content

Commit 1cb4284

Browse files
authored
Merge pull request #201 from pytest-dev/zac/use-utf8
Use utf-8 so we support non-ascii module names
2 parents 870891d + 58d0215 commit 1cb4284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

execnet/gateway_bootstrap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def bootstrap_socket(io, id):
7575

7676
def sendexec(io, *sources):
7777
source = "\n".join(sources)
78-
io.write((repr(source) + "\n").encode("ascii"))
78+
io.write((repr(source) + "\n").encode("utf-8"))
7979

8080

8181
def fix_pid_for_jython_popen(gw):

0 commit comments

Comments
 (0)