Skip to content

Commit 0d2bf9c

Browse files
committed
try to see if the issue is because of bad registered channels
1 parent af650ef commit 0d2bf9c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎Lib/test/test_interpreters/test_channels.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ class Send(End): pass
4949
class Recv(End): pass
5050

5151
_ = importlib.reload(_channels)
52+
# ensure that the following tests do not have the registered bad types
53+
self.addCleanup(importlib.reload, _channels)
5254
_._register_end_types(Send, Recv)
5355
chan = _._channel_id(_.create(), _resolve=True)
5456
interp = interpreters.create()

0 commit comments

Comments
 (0)