aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/support/interpreters/channels.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/support/interpreters/channels.py')
-rw-r--r--Lib/test/support/interpreters/channels.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/support/interpreters/channels.py b/Lib/test/support/interpreters/channels.py
index 7a2bd7d63f8..1724759b75a 100644
--- a/Lib/test/support/interpreters/channels.py
+++ b/Lib/test/support/interpreters/channels.py
@@ -6,8 +6,8 @@ from . import _crossinterp
# aliases:
from _interpchannels import (
- ChannelError, ChannelNotFoundError, ChannelClosedError,
- ChannelEmptyError, ChannelNotEmptyError,
+ ChannelError, ChannelNotFoundError, ChannelClosedError, # noqa: F401
+ ChannelEmptyError, ChannelNotEmptyError, # noqa: F401
)
from ._crossinterp import (
UNBOUND_ERROR, UNBOUND_REMOVE,
@@ -69,7 +69,7 @@ def list_all():
if not hasattr(send, '_unboundop'):
send._set_unbound(unboundop)
else:
- assert send._unbound[0] == op
+ assert send._unbound[0] == unboundop
channels.append(chan)
return channels