mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
asyncio: Fix pyflakes warnings: remove unused variables and imports
This commit is contained in:
parent
24ba203504
commit
f5e37037cc
8 changed files with 12 additions and 26 deletions
|
@ -8,7 +8,6 @@ if sys.platform != 'win32':
|
|||
import _winapi
|
||||
|
||||
import asyncio
|
||||
from asyncio import test_utils
|
||||
from asyncio import _overlapped
|
||||
from asyncio import windows_events
|
||||
|
||||
|
@ -50,7 +49,7 @@ class ProactorTests(unittest.TestCase):
|
|||
ADDRESS = r'\\.\pipe\test_double_bind-%s' % os.getpid()
|
||||
server1 = windows_events.PipeServer(ADDRESS)
|
||||
with self.assertRaises(PermissionError):
|
||||
server2 = windows_events.PipeServer(ADDRESS)
|
||||
windows_events.PipeServer(ADDRESS)
|
||||
server1.close()
|
||||
|
||||
def test_pipe(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue