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