File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 44import time
55import unittest
66from asyncio ._selector_thread import SelectorThread
7+ from test import support
78from unittest import mock
89
910
@@ -115,9 +116,9 @@ def read():
115116 msg = await asyncio .wait_for (read_future , timeout = 10 )
116117
117118 selector_thread .remove_writer (a )
118- self .assertNotIn (a .fileno () , selector_thread ._writers )
119+ self .assertNotIn (a .fileno (), selector_thread ._writers )
119120 selector_thread .remove_reader (b )
120- self .assertNotIn (b .fileno () , selector_thread ._readers )
121+ self .assertNotIn (b .fileno (), selector_thread ._readers )
121122 a .close ()
122123 b .close ()
123124 self .assertEqual (msg , sent )
Original file line number Diff line number Diff line change 55import time
66import threading
77import unittest
8+ from test import support
89from unittest import mock
910
1011if sys .platform != 'win32' :
You can’t perform that action at this time.
0 commit comments