From 569cb964d3ce229291d66306995f34319dd7dd75 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 23 Jul 2024 10:05:14 -0300 Subject: [PATCH] Adapt to mypy 1.11 --- src/xdist/looponfail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdist/looponfail.py b/src/xdist/looponfail.py index 4826c70..aa8852f 100644 --- a/src/xdist/looponfail.py +++ b/src/xdist/looponfail.py @@ -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 = []