Skip to content

Commit 569cb96

Browse files
authored
Adapt to mypy 1.11
1 parent 8230e4f commit 569cb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xdist/looponfail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def init_worker_session(
166166
import sys
167167

168168
outchannel = channel.gateway.newchannel()
169-
sys.stdout = sys.stderr = outchannel.makefile("w") # type: ignore[assignment]
169+
sys.stdout = sys.stderr = outchannel.makefile("w")
170170
channel.send(outchannel)
171171
# prune sys.path to not contain relative paths
172172
newpaths = []

0 commit comments

Comments
 (0)