Adapt to mypy 1.11
This commit is contained in:
parent
8230e4f1e1
commit
569cb964d3
|
@ -166,7 +166,7 @@ def init_worker_session(
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
outchannel = channel.gateway.newchannel()
|
outchannel = channel.gateway.newchannel()
|
||||||
sys.stdout = sys.stderr = outchannel.makefile("w") # type: ignore[assignment]
|
sys.stdout = sys.stderr = outchannel.makefile("w")
|
||||||
channel.send(outchannel)
|
channel.send(outchannel)
|
||||||
# prune sys.path to not contain relative paths
|
# prune sys.path to not contain relative paths
|
||||||
newpaths = []
|
newpaths = []
|
||||||
|
|
Loading…
Reference in New Issue